Panache - Support specifying whether NULLs come first or last when using Sort
#26814
Labels
kind/enhancement
New feature or request
Sort
#26814
Description
When using
ORDER BY
in SQL you can specify where nulls should appear usingNULLS FIRST
orNULLS LAST
, e.g.ORDER BY x DESC NULLS LAST
It would be nice to have this functionality available when using
Sort.by
andSort.ascending
etc.Implementation ideas
Add directions
ASCENDING_NULLS_FIRST
,ASCENDING_NULLS_LAST
,DESCENDING_NULLS_FIRST
... etcAdd shortcuts
Sort.ascendingNullsFirst
,Sort.ascendingNullsLast
... etcThe text was updated successfully, but these errors were encountered: