chai icon indicating copy to clipboard operation
chai copied to clipboard

LIMIT and OFFSET should support expressions

Open asdine opened this issue 2 years ago • 0 comments

Even though it is technically possible to pass expressions to LIMIT and OFFSET, the docs.Take and docs.Skip operators expect integers, which doesn't make them very flexible.

The docs.Take and docs.Skip operators should take an expression instead of an integer, evaluate the expression and cast it to integer.

asdine avatar Jul 02 '22 13:07 asdine