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.
25 lines
1.1 KiB
JSON
25 lines
1.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "WITH RECURSIVE target_playlists AS (\n SELECT id\n FROM playlists\n WHERE id = ANY($1)\n AND deleted_at IS NULL\n UNION ALL\n SELECT p.id\n FROM playlists p\n JOIN target_playlists tp ON p.parent_id = tp.id\n WHERE p.deleted_at IS NULL\n )\n SELECT EXISTS(\n SELECT 1\n FROM target_playlists\n WHERE id = $2\n ) AS \"exists!\"",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "exists!",
|
|
"type_info": "Bool",
|
|
"origin": "Expression"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8Array",
|
|
"Int8"
|
|
]
|
|
},
|
|
"nullable": [
|
|
null
|
|
]
|
|
},
|
|
"hash": "b683fc5c9e74d05d03ab338685ee9ebafd37be3a48728ecb713eaeb38e149f42"
|
|
}
|