Expand description
Test keyset pagination over a multi-column order_by.
The cursor must be compared lexicographically: a row that ties the cursor
on a leading sort column but is beyond it on a later column belongs on the
next page. These are gated on sql because SQL drivers rewrite the cursor
into a WHERE filter; NoSQL drivers use a driver-level cursor instead.
Functionsยง
- paginate_
accepts_ cursor_ without_ hidden_ primary_ key - paginate_
composite_ unique_ non_ nullable_ order_ needs_ no_ tiebreaker - paginate_
first_ page_ has_ no_ previous_ page - paginate_
first_ page_ ignores_ nested_ statement_ cursor - paginate_
first_ page_ ignores_ subquery_ cursor - paginate_
multi_ column_ equal_ leading_ values - paginate_
multi_ column_ mixed_ directions - paginate_
non_ unique_ column_ with_ newtype_ primary_ key - paginate_
nullable_ unique_ column_ uses_ primary_ key - paginate_
single_ non_ unique_ column - paginate_
unique_ non_ nullable_ column_ needs_ no_ tiebreaker