Creates a query to retrieve a list of create requests.
Notes:
suppressAuth
option is set to true
.SECRET
groups, only site admins can query requests to create a group. However, if the suppressAuth
option is set to true
, all permissions are overwritten, and all site members can query requests to create secret groups.The queryCreateRequests()
function builds a query to retrieve a list of all requests to create a group, and returns a CreateRequestsQueryBuilder 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 CreateRequestsQueryBuilder
functions onto the query. CreateRequestsQueryBuilder
functions enable you to sort, filter, and control the results that queryCreateRequests()
returns.
queryCreateRequests()
runs with these CreateRequestsQueryBuilder
defaults, which you can override:
The following CreateRequestsQueryBuilder
functions are supported for queryCreateRequests()
. For a full description of the CreateRequests object, see the object returned for the items
property in CreateRequestsQueryResult
.
Property | Supported Filters & Sorting |
---|---|
status | eq() , ne() , hasSome() , or() |
_createdDate | ascending() , descending() |