Retrieves a collection with the provided ID.
Requested collection ID.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Retrieves a collection with the provided slug.
Slug of the collection to retrieve.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Retrieves a list of up to 100 collections, given the provided paging, sorting and filtering. See Stores Pagination for more information.
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
_id | eq() ,ne() ,exists() ,in() ,hasSome() ,startsWith() ,ascending() ,descending() |
name | eq() ,ne() ,exists() ,in() ,hasSome() ,startsWith() ,ascending() ,descending() |
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Retrieves the next page of query results.
The next()
function retrieves the next page of query results.
The page size is defined by the limit()
function and can be retrieved using the pageSize
property. You can use the next()
and prev()
functions returned by collections
to navigate the pages of a query result.
If items are added or removed between calls to next()
, the values returned by CollectionsQueryBuilder
may change.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.
Retrieves the previous page of query results.
The prev()
function retrieves the previous page of query results.
The page size is defined by the limit()
function and can be retrieved using the pageSize
property. You can use the next()
and prev()
functions returned by collections
to navigate the pages of a query result.
If items are added or removed between calls to prev()
, the values returned may change.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.