findAround()
Find entities before or after an entity based on a property and a value.
The options argument is an object that must contain either a "before" or an "after" property setting the limit of entities to retrieve.
Examples:
Additional options
readAll {boolean} true | false If set to true and with format set to "JSON" (default) it will output all the entity properties regardless of the read parameter defined in the Schema.
format {string} "JSON" (default) | "ENTITY"
showKey(default: false) Adds a "__key" property to the entity data with the complete Key from the Datastore.
cache (default: the "global" cache configuration) "true" = read from the cache and prime the cache with the query response.
ttl (default: the global
cache.ttl.queries
value) Custom TTL value for the cache. For multi-store it can be an Object of TTL values.
Last updated
Was this helpful?