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.
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n SELECT event_id AS \"event_id?\", sequence AS \"sequence!\"\n FROM chat_message_events\n WHERE room_id = $1\n AND event_type = ANY($2::text[])\n AND (payload #>> '{message,message,messageType}') = ANY($3::text[])\n ORDER BY sequence DESC\n LIMIT 1\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "event_id?",
|
|
"type_info": "Text",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "chat_message_events",
|
|
"name": "event_id"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "sequence!",
|
|
"type_info": "Int8",
|
|
"origin": {
|
|
"Table": {
|
|
"table": "chat_message_events",
|
|
"name": "sequence"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8",
|
|
"TextArray",
|
|
"TextArray"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "eb56fff45755bb871046ee6ab2bf2cf7becdedaa5e10a1d5741793bf14dece31"
|
|
}
|