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.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.