queryGroups( )

Creates a query to retrieve a list of groups.

Note: For SECRET groups, only site admins, group admins, and group members can query groups and their content.

The queryGroups() function builds a query to retrieve a list of all groups, and returns a GroupsQueryBuilder object.

PROPERTYSUPPORTED FILTERS & SORTING
titleeq(),ne(),exists(),in(),hasSome(),startsWith(),ascending(),descending()
membersCountascending(),descending()
_createdDateascending(),descending()
recentActivityDateascending(),descending()
Method Declaration
Copy
Method Parameters
optionsQueryGroupsOptions
Returns
Return Type:GroupsQueryBuilder
Was this helpful?
Yes
No