mmap/.sqlx/query-2d32cb71ebda39278cfe19cf6f84d5643874dc0c61ebfa4b1b3bbd97623c86ab.json
tsuki 1d0e96ead4
Some checks are pending
Docker Build and Push / build (push) Waiting to run
add blog system
2025-08-12 21:25:17 +08:00

35 lines
889 B
JSON

{
"db_name": "PostgreSQL",
"query": "\n SELECT \n COUNT(*) as total_count,\n COUNT(CASE WHEN is_system = true THEN 1 END) as system_count,\n COUNT(CASE WHEN is_editable = true THEN 1 END) as editable_count\n FROM settings \n WHERE category = $1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "total_count",
"type_info": "Int8"
},
{
"ordinal": 1,
"name": "system_count",
"type_info": "Int8"
},
{
"ordinal": 2,
"name": "editable_count",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
null,
null,
null
]
},
"hash": "2d32cb71ebda39278cfe19cf6f84d5643874dc0c61ebfa4b1b3bbd97623c86ab"
}