Open phiresky opened 7 years ago
Are you fine with this syntax:
select(mensa.meals).where(
tuple(mensa.id, mensa.lineId).isIn( [tuple(a, b), tuple(c, d)] )
)
?
yeah. Might be good to investigate what exactly the differences are in PG between ROW(1,2,3)
, values(1,2,3)
etc.
e.g.
select mensa.meals where (_mensaid, _lineid) in ((a,b), (c,d))