eorzea-votes/server/.sqlx/query-2339240270b8e6533854d...

36 lines
756 B
JSON

{
"db_name": "PostgreSQL",
"query": "select stats->>$2 as \"key!\", answer, count(*) as \"count!\" from responses where question_id = $1 and stats->>$2 is not null group by stats->>$2, answer order by answer",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "key!",
"type_info": "Text"
},
{
"ordinal": 1,
"name": "answer",
"type_info": "Int2"
},
{
"ordinal": 2,
"name": "count!",
"type_info": "Int8"
}
],
"parameters": {
"Left": [
"Uuid",
"Text"
]
},
"nullable": [
null,
false,
null
]
},
"hash": "2339240270b8e6533854dee24d8b70999e3ff9c0ced1ef20cf151ad989aa017e"
}