The ItemMap
type being queried.
The TranscodeMap
identifying property types that can be indexed. Defaults to DefaultTranscodeMap
.
The this.config.hashKey
property value of the shard being queried.
Optional
pageKey: Partial<Pick<Item, PropertiesOfType<Item, T[keyof T]>>>The page key returned by the previous query on this shard.
Optional
pageSize: numberThe maximum number of items to return from this query.
A query function that returns a single page of results from an individual shard. This function will typically be composed dynamically to express a specific query index & logic. The arguments to this function will be provided by the
EntityManager.query
method, which assembles many returned pages queried across multiple shards into a single query result.