Query Operators
const result = await collection.find({ name: "John" }).toArray();Vergelijkingen
Operator
Betekenis
const result = await collection.find({ age: { $gt: 18 } }).toArray();const result = await collection.find({ age: { $in: [18, 19, 20] } }).toArray();Logische operatoren
Operator
Betekenis
Laatst bijgewerkt