likwid/backend/.sqlx/query-bd76cc54f3ccd774a62f6d2b5ab27e5432bc2202b3e8f030a24a1733c96867af.json

65 lines
1.5 KiB
JSON
Raw Permalink Normal View History

{
"db_name": "PostgreSQL",
"query": "SELECT \n id, community_id, title, description,\n conflict_type::text AS \"conflict_type!\",\n status::text AS \"status!\",\n severity_level, is_urgent\n FROM conflict_cases \n WHERE community_id = $1 AND status NOT IN ('resolved', 'closed')\n ORDER BY is_urgent DESC, severity_level DESC, reported_at",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "community_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "title",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "description",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "conflict_type!",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "status!",
"type_info": "Text"
},
{
"ordinal": 6,
"name": "severity_level",
"type_info": "Int4"
},
{
"ordinal": 7,
"name": "is_urgent",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
null,
null,
false,
false
]
},
"hash": "bd76cc54f3ccd774a62f6d2b5ab27e5432bc2202b3e8f030a24a1733c96867af"
}