Optional
class?: TOptional
limit?: numberThe limit of entities to be returned. Not needed when using getEntity
, as
it always returns only one.
Optional
offset?: numberThe offset from the first matching entity, in order, to start retrieving.
Optional
return?: "entity" | "guid" | "count"What to return, the entities with their data, just the GUIDs, or just a count.
Optional
reverse?: booleanIf true, entities will be retrieved from newest to oldest/largest to
smallest (with regard to sort
).
Optional
skipIf true, Tilmeld will not filter returned entities according to access controls. (If Tilmeld is installed.) (This is always set to false by the REST endpoint and PubSub server.)
Optional
skipIf true, Nymph will skip the cache and retrieve the entity from the DB.
Optional
sort?: "cdate" | "mdate" | stringHow to sort the entities. Should be "cdate", "mdate", or the name of a property.
Optional
source?: stringWill be 'client' if the query came from a REST request or the PubSub server. (Mainly used in Tilmeld for access control.)
The Entity class to query.