chai
chai copied to clipboard
LIMIT and OFFSET should support expressions
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.