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.
synctv/.sqlx/query-030cb490d4094e17bf0f6...

30 lines
942 B
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 (\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 )\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": "030cb490d4094e17bf0f6c813d66d9e0bf7f2422013daf9be38003d7462c81a7"
}