not( )


Developer Preview

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

Adds a not condition to the query or filter.

The not() method adds a not condition to this query. A query with a not returns all the items that match the query as defined up to the not method, but don't match the filter passed to the not method.

If the query only contains a not() method, it returns all the items that don't match the filter defined by the not method.

Method Declaration
Copy
Method Parameters
filterWixDataFilterRequired

Filter to add to the initial filter as a not condition.

Returns
Return Type:WixDataQuery
Did this help?