@xtandard/lib/pagination/knex
Knex adapter for pagination keysets (raw parameterized SQL, no driver dependency).
import { … } from "@xtandard/lib/pagination/knex";Functions
Section titled “Functions”| Name | Summary |
|---|---|
applyKeysetToKnex |
Apply a portable keyset WHERE + ORDER BY to a Knex query builder. Values are passed as bindings; column identifiers are validated by the raw SQL helpers before being rendered. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
ApplyKeysetToKnexOptions |
Options for applyKeysetToKnex. |
KnexKeysetQuery |
Minimal structural subset of a Knex query builder used by applyKeysetToKnex. |