Function keyset_after
pub fn keyset_after<V, E>(
columns: &[KeysetColumn],
values: &[Option<V>],
leaf: impl FnMut(&str, KeysetLeaf<'_, V>) -> Result<FilterExpr, E>,
) -> Result<FilterExpr, E>where
E: From<CratestackError>,Expand description
Filter selecting the rows strictly after the row whose per-column
values are values (None = NULL), expanded as
OR_i (c_0 = v_0 AND … AND c_{i-1} = v_{i-1} AND c_i AFTER v_i).
With NULLS LAST, a non-null v_i on a nullable column is also
followed by every NULL; a NULL v_i has nothing after it in that
column (only ties, handled by the next term). leaf builds the typed
comparison — the caller owns value parsing, so a bad value fails here
exactly as the same value in a ?col__gt= filter would.