Appearance
KeysetSeek Class
Definition
Builds lexicographic keyset (seek) predicates and related ORDER BY helpers.
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Methods
Remarks
Compile is always forward relative to the supplied ORDER BY: ascending tips use >, descending tips use <, with NULLS LAST branches. For previous-page / reverse-seek queries, invert the ORDER BY first (see InvertOrder), compile against the inverted order, then reverse rows for display.
Correctness requires a total order (typically primary-key tie-break) and NULLS LAST ordering. See docs/keyset-pagination.md.