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-d1d9b89ce0d7f17cf0ba4...

33 lines
971 B
JSON

{
"db_name": "PostgreSQL",
"query": "\n SELECT position\n FROM playlists\n WHERE room_id = $1\n AND deleted_at IS NULL\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": "d1d9b89ce0d7f17cf0ba45025d6845362fbc1fcdd34228aaecc0052090feb0f5"
}