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.
42 lines
976 B
JSON
42 lines
976 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT id, created_at\n FROM chat_messages\n WHERE created_at <= NOW() - make_interval(days => $1)\n ORDER BY 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"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "47cc783a3a837f9134a809933bbbfe9da94cb7fe6b511c0100bcc4b1bb177638"
|
|
}
|