queryCategories( )


Creates a query to retrieve a list of categories.

The queryCategories() function builds a query to retrieve a list of categories and returns a CategoriesQueryBuilder object.

The returned object contains the query definition, which is typically used to run the query using the find() function.

You can refine the query by chaining CategoriesQueryBuilder functions onto the query. CategoriesQueryBuilder functions enable you to sort, filter, and control the results queryCategories() returns.

queryCategories() runs with these CategoriesQueryBuilder defaults, which you can override:

PROPERTYSUPPORTED FILTERS & SORTING
_ideq()
nameeq()
_createdDateascending(),descending()
Permissions
Manage Events - all permissions
Read Events - all read permissions
Manage Events
Manage Guest List
Read Events
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsQueryCategoriesOptions

Options to use when querying categories.

Returns
Did this help?