hediet/ts-typed-sql

between operator

Opened this issue · 0 comments

a BETWEEN x AND y

a.between(x, y) is much easier to read than a.isAtLeast(x).and(t.isAtMost(y))

https://www.postgresql.org/docs/9.1/static/functions-comparison.html