package
0.53.0-beta.2
Repository: https://github.com/cosmos/cosmos-sdk.git
Documentation: pkg.go.dev

# Functions

CollectionFilteredPaginate works in the same way as CollectionPaginate but allows to filter results using a predicateFunc.
CollectionPaginate follows the same logic as Paginate but for collection types.
FilteredPaginate does pagination of all the results in the PrefixStore based on the provided PageRequest.
GenericFilteredPaginate does pagination of all the results in the PrefixStore based on the provided PageRequest.
Paginate does pagination of all the results in the PrefixStore based on the provided PageRequest.
ParsePagination validate PageRequest and returns page number & limit.
WithCollectionPaginationPairPrefix applies a prefix to a collection, whose key is a collection.Pair, being paginated that needs prefixing.
WithCollectionPaginationTriplePrefix applies a prefix to a collection, whose key is a collection.Triple, being paginated that needs prefixing.

# Constants

DefaultLimit is the default `limit` for queries if the `limit` is not supplied, paginate will use `DefaultLimit`.
DefaultPage is the default `page` number for queries.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PaginationMaxLimit is the maximum limit the paginate function can handle which equals the maximum value that can be stored in uint64.

# Structs

CollectionsPaginateOptions provides extra options for pagination in collections.
PageRequest is to be embedded in gRPC request messages for efficient pagination.
PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.

# Interfaces

Collection defines the minimum required API of a collection to work with pagination.