mongodb use and and or code example Example 1: $and mongodb { $and: [ {}, {}, ... ] } Example 2: and in mongodb { $and: [ , , ... ] }