Logical not

https://docs.mongodb.com/manual/reference/operator/query/not/#op._S_not

$not performs a logical NOT operation on the specified expression and selects the documents that do not match the expression. This includes documents that do not contain the field.

The $not has the following syntax:

{ field: { $not: { <expression> } } }

Property definitions

mongodb $ MongoMatch :: lnot
	# Logical `not`
	#
	# https://docs.mongodb.com/manual/reference/operator/query/not/#op._S_not
	#
	# `$not` performs a logical NOT operation on the specified `expression` and
	# selects the documents that do not match the `expression`.
	# This includes documents that do not contain the field.
	#
	# The $not has the following syntax:
	#
	# ~~~json
	# { field: { $not: { <expression> } } }
	# ~~~
	fun lnot(field: nullable String, expression: Serializable): MongoMatch do
		op("not", field, expression)
		return self
	end
lib/mongodb/queries.nit:269,2--285,4