Logical or

https://docs.mongodb.com/manual/reference/operator/query/or/#op._S_or

The $or operator performs a logical OR operation on an array of two or more expressions and selects the documents that satisfy at least one of the expressions.

The $or has the following syntax:

{ field: { $or: [ { <expression1> }, { <expression2> }, ... , { <expressionN> } ] } }

Property definitions

mongodb $ MongoMatch :: lor
	# Logical `or`
	#
	# https://docs.mongodb.com/manual/reference/operator/query/or/#op._S_or
	#
	# The `$or` operator performs a logical OR operation on an array of two or
	# more `expressions` and selects the documents that satisfy at least one of
	# the `expressions`.
	#
	# The `$or` has the following syntax:
	#
	# ~~~json
	# { field: { $or: [ { <expression1> }, { <expression2> }, ... , { <expressionN> } ] } }
	# ~~~
	fun lor(field: nullable String, expressions: Array[Serializable]): MongoMatch do
		op("or", field, new JsonArray.from(expressions))
		return self
	end
lib/mongodb/queries.nit:234,2--250,4