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

43 lines
1.0 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "\n SELECT id, created_at\n FROM chat_messages\n WHERE deletion_source = $3\n AND deleted_at <= NOW() - make_interval(days => $1)\n ORDER BY deleted_at ASC, created_at ASC, id ASC\n LIMIT $2\n FOR UPDATE SKIP LOCKED\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Int8",
"origin": {
"Table": {
"table": "chat_messages",
"name": "id"
}
}
},
{
"ordinal": 1,
"name": "created_at",
"type_info": "Timestamptz",
"origin": {
"Table": {
"table": "chat_messages",
"name": "created_at"
}
}
}
],
"parameters": {
"Left": [
"Int4",
"Int8",
"Int2"
]
},
"nullable": [
false,
false
]
},
"hash": "c8e14f5b2b2128eca3a2bf9b66a73edbd10b35bc7c14140a54cbd828459420d3"
}