not( )


Creates a search filter for matching documents that do not meet the conditions of all of the specified filters.

The not() function joins WixSearchFilters and adds a not condition. A search with a not() returns all the documents that don't match all of the filters passed to the not() function. The not() function first applies an and condition between the filter parameters and then negates them.

Method Declaration
Copy
Method Parameters
filtersArray<WixSearchFilter>Required

One or more filters.

Returns
Return Type:WixSearchFilter
Was this helpful?
Yes
No