[Space Lua] LIQ: Add using ... support to order by
* support for custom comparators in LIQ `order by` clauses via the `using` keyword. * `using` is mutually exclusive with `asc`/`desc` and accepts either a *named function* or an *inline anonymous function*. The comparator receives two values and returns true if the first should come before the second. * `nulls first`/ `nulls last` works independently of `using`. * `using` is now a reserved keyword (`kw`; this cannot be avoided but the chance to collide with user scripts is negligable), * documentation updated + polished a little Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user