not( )


Adds an not condition to the query.

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

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

Method Declaration
Copy
Method Parameters

Contains functionality for refining a contacts query. The ContactsQueryBuilder functions enable you to run, sort, filter, and control which results a query returns.

Typically, you build a query using queryContacts() function, refine the query by chaining ContactsQueryBuilder functions, and then execute the query by chaining the find() function.

Returns
Did this help?