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.
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
title | eq() ,ne() ,exists() ,in() ,hasSome() ,startsWith() ,ascending() ,descending() |
membersCount | ascending() ,descending() |
_createdDate | ascending() ,descending() |
recentActivityDate | ascending() ,descending() |