1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2025-01-04 06:54:51 +09:00
vervis/src/Database
fr33domlover dad1ed2e1f SQL: IN (1, 2, 3) instead of invalid ANY('[1, 2, 3]')
I thought SQL arrays were common and PersistList corresponded to SQL
array values. But that isn't the case. PersistList seems to be
serialized as a JSON list, and `filterClause` uses IN, not ANY. So I'm
doing the same thing here and using IN.

Note that I'm building the list myself using Text concatenation, not
using `filterClause`, because the latter takes a filter on an existing
`PersistEntity` while my filters often apply to temporary tables.
2016-07-29 22:57:52 +00:00
..
Esqueleto Finish route change, it builds now 2016-05-23 20:46:54 +00:00
Persist SQL: IN (1, 2, 3) instead of invalid ANY('[1, 2, 3]') 2016-07-29 22:57:52 +00:00