Attributes
- Companion:
- trait
- Graph
- Supertypes
- Self type
- GreenLeafMongoDsl.type
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- GreenLeafMongoDsl
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- GreenLeafMongoDsl
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Attributes
- Inherited from:
- GreenLeafMongoDsl
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
Value members
Inherited methods
$and performs a logical AND operation on an array of two or more expressions (e.g. expression1, expression2, etc.) and selects the documents that satisfy all the expressions in the array. The $and operator uses short-circuit evaluation. If the first expression (e.g. expression1) evaluates to false, MongoDB will not evaluate the remaining expressions.
$and performs a logical AND operation on an array of two or more expressions (e.g. expression1, expression2, etc.) and selects the documents that satisfy all the expressions in the array. The $and operator uses short-circuit evaluation. If the first expression (e.g. expression1) evaluates to false, MongoDB will not evaluate the remaining expressions.
Attributes
- filters
are expressions
- Returns:
the filter
- See also:
- Example:
$and("price" $ne 1.99, "price" $exists true)
- Inherited from:
- GreenLeafMongoDsl
$and performs a logical AND operation on an array of two or more expressions (e.g. expression1, expression2, etc.) and selects the documents that satisfy all the expressions in the array. The $and operator uses short-circuit evaluation. If the first expression (e.g. expression1) evaluates to false, MongoDB will not evaluate the remaining expressions.
$and performs a logical AND operation on an array of two or more expressions (e.g. expression1, expression2, etc.) and selects the documents that satisfy all the expressions in the array. The $and operator uses short-circuit evaluation. If the first expression (e.g. expression1) evaluates to false, MongoDB will not evaluate the remaining expressions.
Attributes
- filters
are expressions
- Returns:
the filter
- See also:
- Example:
$and("price" $ne 1.99, "price" $exists true)
- Inherited from:
- GreenLeafMongoDsl
The $elemMatch operator matches documents that contain an array field with at least one element that matches all the specified query criteria.
The $elemMatch operator matches documents that contain an array field with at least one element that matches all the specified query criteria.
Attributes
- v
is value
- Returns:
the filter
- See also:
- Example:
"qty" $all ( $elemMatch ($and("size" $eq "M", "num" $gt 50)), $elemMatch ($and("num" $eq 100, "color" $eq "green")) )
- Inherited from:
- GreenLeafMongoDsl
$nor performs a logical NOR operation on an array of one or more query expression and selects the documents that fail all the query expressions in the array.
$nor performs a logical NOR operation on an array of one or more query expression and selects the documents that fail all the query expressions in the array.
Attributes
- filters
are expressions
- Returns:
the filter
- See also:
- Example:
$nor("price" $eq 1.99, "qty" $lt 20, "sale" $eq true)
- Inherited from:
- GreenLeafMongoDsl
$nor performs a logical NOR operation on an array of one or more query expression and selects the documents that fail all the query expressions in the array.
$nor performs a logical NOR operation on an array of one or more query expression and selects the documents that fail all the query expressions in the array.
Attributes
- filters
are expressions
- Returns:
the filter
- See also:
- Example:
$nor("price" $eq 1.99, "qty" $lt 20, "sale" $eq true)
- Inherited from:
- GreenLeafMongoDsl
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 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.
Attributes
- filters
are expressions
- Returns:
the filter
- See also:
- Example:
$or("quantity" $lt 20, "price" $eq 10)
- Inherited from:
- GreenLeafMongoDsl
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 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.
Attributes
- filters
are expressions
- Returns:
the filter
- See also:
- Example:
$or("quantity" $lt 20, "price" $eq 10)
- Inherited from:
- GreenLeafMongoDsl
Implicits
Inherited implicits
Attributes
- Inherited from:
- GreenLeafMongoDsl
Attributes
- Inherited from:
- GreenLeafMongoDsl
Attributes
- Inherited from:
- GreenLeafMongoDsl
Attributes
- Inherited from:
- GreenLeafMongoDsl