Details
-
Typo
-
Resolution: Done
-
Major - P3
-
3.6.6
-
None
-
0.1
Description
Description
From the mongoDB documentation:
{{}}
$and performs a logical AND operation on an array of two or more expressions
However, I am able to run a mongo query with just one expression.
For example in Studio 3T I run:
db.getCollection("mycollection").find({
"$and": [
{ "memId":"07e3c5560dc125689eb75bfd120ceb91" }]
})
Is this a typo in the documentation or an incorrect implementation of mongoDB?