mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53:09 -06:00
Fix arguments in selectEventsSQL
Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
parent
40fd47957a
commit
3742874433
|
|
@ -60,7 +60,8 @@ const insertEventSQL = "" +
|
|||
") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING id"
|
||||
|
||||
const selectEventsSQL = "" +
|
||||
"SELECT id, event_json FROM syncapi_output_room_events WHERE event_id = ANY($1)"
|
||||
"SELECT id, event_json, device_id, transaction_id" +
|
||||
" FROM syncapi_output_room_events WHERE event_id = ANY($1)"
|
||||
|
||||
const selectRecentEventsSQL = "" +
|
||||
"SELECT id, event_json, device_id, transaction_id FROM syncapi_output_room_events" +
|
||||
|
|
|
|||
Loading…
Reference in a new issue