likwid/backend/.sqlx/query-778a5cc33f4b205914711921c98653f826d2adc8175c9297efb485caf4c3d96d.json

36 lines
1 KiB
JSON
Raw Permalink Normal View History

{
"db_name": "PostgreSQL",
"query": "\n SELECT\n p.name,\n COALESCE(cp.is_active, false) as \"is_active!\",\n COALESCE(cp.settings, '{}'::jsonb) as \"settings!: serde_json::Value\"\n FROM plugins p\n LEFT JOIN community_plugins cp\n ON cp.plugin_id = p.id AND cp.community_id = $1\n WHERE p.is_active = true\n AND p.name = ANY($2)\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "name",
"type_info": "Varchar"
},
{
"ordinal": 1,
"name": "is_active!",
"type_info": "Bool"
},
{
"ordinal": 2,
"name": "settings!: serde_json::Value",
"type_info": "Jsonb"
}
],
"parameters": {
"Left": [
"Uuid",
"TextArray"
]
},
"nullable": [
false,
null,
null
]
},
"hash": "778a5cc33f4b205914711921c98653f826d2adc8175c9297efb485caf4c3d96d"
}