Creates a filter to be used with datasets and aggregations.
The filter()
function builds a filter to be applied to a dataset or an aggregation, and returns a WixDataFilter
object.
The returned object contains the filter definition and is used with the setFilter()
function.
When working with Wix app collections, check which fields can be used in a filter.