Skip to content

@xtandard/lib/pagination/mongo

Mongo/Mongoose adapter for pagination keysets (no driver dependency).

import { … } from "@xtandard/lib/pagination/mongo";
Name Summary
assertMongoFieldPath Validate a Mongo field path used by the keyset adapter.
toMongoKeyset Create a MongoDB/Mongoose adapter for portable keyset predicates and sorting.
Name Summary
MongoKeyset
MongoKeysetComparison
MongoKeysetFields
MongoKeysetFilter
MongoKeysetSort