Logical and

https://docs.mongodb.com/manual/reference/operator/query/and/#op._S_and

The $and operator performs a logical AND operation on an array of two or more expressions and selects the documents that satisfy all of the expressions.

The $and has the following syntax:

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

Property definitions

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