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.
30 lines
1.1 KiB
JSON
30 lines
1.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "SELECT id AS \"id: PlaylistId\"\n FROM playlists\n WHERE room_id = $1\n AND creator_id = $2\n AND deleted_at IS NULL\n AND source_provider IS NOT NULL\n AND (\n parent_id IS NULL\n OR parent_id NOT IN (\n SELECT id\n FROM playlists\n WHERE room_id = $1\n AND creator_id = $2\n AND deleted_at IS NULL\n AND source_provider IS NOT NULL\n )\n )\n ORDER BY id",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id: PlaylistId",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "playlists",
|
|
"name": "id"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8",
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "421ae55ab75ae2b4e15051b545d9ed7e2501144901b415833c548bbad77187ac"
|
|
}
|