mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Try that again
This commit is contained in:
parent
d369acf512
commit
8c2bb18697
1 changed files with 2 additions and 2 deletions
|
@ -92,8 +92,8 @@ const bulkSelectStateEventByIDSQL = "" +
|
|||
const bulkSelectStateEventByNIDSQL = "" +
|
||||
"SELECT event_type_nid, event_state_key_nid, event_nid FROM roomserver_events" +
|
||||
" WHERE event_nid = ANY($1)" +
|
||||
" AND (CARDINALITY($2) = 0 OR event_type_nid = ANY($2))" +
|
||||
" AND (CARDINALITY($3) = 0 OR event_state_key_nid = ANY($3))" +
|
||||
" AND (CARDINALITY($2::bigint[]) = 0 OR event_type_nid = ANY($2))" +
|
||||
" AND (CARDINALITY($3::bigint[]) = 0 OR event_state_key_nid = ANY($3))" +
|
||||
" ORDER BY event_type_nid, event_state_key_nid ASC"
|
||||
|
||||
const bulkSelectStateAtEventByIDSQL = "" +
|
||||
|
|
Loading…
Reference in a new issue