$and operator in mongodb code example
Example 1: $and mongodb
{ $and: [ {<expression1>}, {<expression2>}, ... ] }
Example 2: and in mongodb
{ $and: [ <expression1>, <expression2>, ... ] }
{ $and: [ {<expression1>}, {<expression2>}, ... ] }
{ $and: [ <expression1>, <expression2>, ... ] }