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.1 KiB
JSON
41 lines
1.1 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 p.source_provider IS NOT 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": "02d7e84323e218f09cd806d0169720eeb41a5ec353a24633c76712c0957cc57e"
|
|
}
|