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-6fb05f28142ec5eb2f18f...

33 lines
933 B
JSON

{
"db_name": "PostgreSQL",
"query": "\n SELECT position\n FROM playlists\n WHERE room_id = $1\n AND parent_id IS NOT DISTINCT FROM $2\n AND id <> $3\n AND (\n position < $4\n OR (position = $4 AND id < $5)\n )\n ORDER BY position DESC, id DESC\n LIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "position",
"type_info": "Float8",
"origin": {
"Table": {
"table": "playlists",
"name": "position"
}
}
}
],
"parameters": {
"Left": [
"Int8",
"Int8",
"Int8",
"Float8",
"Int8"
]
},
"nullable": [
false
]
},
"hash": "6fb05f28142ec5eb2f18ffd8cc0f87c1887ae8d03b671d01e130fc4e5e4bbe06"
}