filter( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a filter for queries and aggregations.

The filter() method builds a filter to be applied to a query or an aggregation. It returns a WixDataFilter object, which can be used with other filter methods such as and(), or() and not(), to create complex filter definitions.

When working with Wix app collections, check which fields can be used in a filter.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:WixDataFilter
Did this help?