OptionalacOptionalclassThe Entity class to query.
OptionallimitThe limit of entities to be returned. Not needed when using getEntity, as
it always returns only one.
OptionaloffsetThe offset from the first matching entity, in order, to start retrieving.
OptionalreturnWhat to return, the entities with their data, just the entity data, just the GUIDs, or just a count.
'object' is only available on the server, as there are substantial security implications with using it. It returns the full entity data as a simple object. You should only use it for operations where instantiating the entities has an unacceptable performance cost.
OptionalreverseIf true, entities will be retrieved from newest to oldest/largest to
smallest (with regard to sort).
OptionalskipIf 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.)
OptionalskipIf true, Nymph will skip the cache and retrieve the entity from the DB.
OptionalsortHow to sort the entities. Should be "cdate", "mdate", or the name of a property.
When null, the result set will not be sorted in any particular way. It's really up to the DB how the results are returned. In this case, limit and offset may work for pagination, but shouldn't be relied on.
OptionalsourceWill be 'client' if the query came from a REST request or the PubSub server. (Mainly used in Tilmeld for access control.)
The level(s) of access control requested.
Limiting the access control can significantly improve the performance of the query.