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-642aea9fba8610975bb7c...

30 lines
1.0 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 (\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 )\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": "642aea9fba8610975bb7cb9b1a782c5563069e0191341ce1f289005dd2a73481"
}