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.
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT p.id AS \"id: PlaylistId\", p.room_id AS \"room_id: RoomId\"\n FROM playlists p\n JOIN rooms r ON r.id = p.room_id\n WHERE p.creator_id = $1\n AND p.deleted_at IS NULL\n AND r.deleted_at IS NULL\n ORDER BY p.room_id, p.id",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id: PlaylistId",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "playlists",
|
|
"name": "id"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "room_id: RoomId",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "playlists",
|
|
"name": "room_id"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "943ddaef34bd5a0fc60bbc962f11a3436adb9c5b5dc93f644b0ebf5600fa9418"
|
|
}
|