mirror of https://github.com/synctv-org/synctv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
2.6 KiB
JSON
113 lines
2.6 KiB
JSON
|
2 months ago
|
{
|
||
|
|
"db_name": "PostgreSQL",
|
||
|
|
"query": "\n SELECT id AS \"id: RoomCategoryId\",\n key,\n name,\n description,\n sort_order,\n is_enabled,\n created_at,\n updated_at\n FROM room_categories\n WHERE (NOT $1 OR is_enabled)\n ORDER BY sort_order ASC, id ASC\n ",
|
||
|
|
"describe": {
|
||
|
|
"columns": [
|
||
|
|
{
|
||
|
|
"ordinal": 0,
|
||
|
|
"name": "id: RoomCategoryId",
|
||
|
|
"type_info": "Int8",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "id"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 1,
|
||
|
|
"name": "key",
|
||
|
|
"type_info": "Text",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "key"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 2,
|
||
|
|
"name": "name",
|
||
|
|
"type_info": "Text",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "name"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 3,
|
||
|
|
"name": "description",
|
||
|
|
"type_info": "Text",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "description"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 4,
|
||
|
|
"name": "sort_order",
|
||
|
|
"type_info": "Int4",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "sort_order"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 5,
|
||
|
|
"name": "is_enabled",
|
||
|
|
"type_info": "Bool",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "is_enabled"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 6,
|
||
|
|
"name": "created_at",
|
||
|
|
"type_info": "Timestamptz",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "created_at"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"ordinal": 7,
|
||
|
|
"name": "updated_at",
|
||
|
|
"type_info": "Timestamptz",
|
||
|
|
"origin": {
|
||
|
|
"Table": {
|
||
|
|
"table": "room_categories",
|
||
|
|
"name": "updated_at"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"parameters": {
|
||
|
|
"Left": [
|
||
|
|
"Bool"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"nullable": [
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false,
|
||
|
|
false
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"hash": "e56a5ec668363a316cfbd3eeefa6b78463ec302add5420c7688f882d8553e4fa"
|
||
|
|
}
|