!= (not equal)

Selects documents whose document fields do not contain the same values as the specified string that is being searched for. For example, you can search for documents that are not of the document type as follows:

objType != document

By means of the NOT modifier the same search can be performed using a test for equality:


Although both queries return the same results, the first query expression is much more efficient than the second.