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-8c2444eda6e020e59498f...

27 lines
776 B
JSON

{
"db_name": "PostgreSQL",
"query": "\n WITH deleted AS (\n DELETE FROM chat_message_reactions\n WHERE room_id = $1 AND message_id = $2 AND message_created_at = $3\n RETURNING user_id\n )\n SELECT COUNT(*) FILTER (WHERE user_id = $4) AS \"count!\"\n FROM deleted\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "count!",
"type_info": "Int8",
"origin": "Expression"
}
],
"parameters": {
"Left": [
"Int8",
"Int8",
"Timestamptz",
"Int8"
]
},
"nullable": [
null
]
},
"hash": "8c2444eda6e020e59498fb67ba77c0d370531cad605419b9ba662e861b8859f4"
}