35 lines
708 B
JSON
35 lines
708 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "select country as \"key!\", answer, count(*) as \"count!\" from responses where question_id = $1 group by country, 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"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
null
|
|
]
|
|
},
|
|
"hash": "3e861ab97e2b1f270fba70971dce3e7362e30107647596223e7af42a86a051f1"
|
|
}
|