Write a MongoDB query for documents where department: "Engineering".
Ready — edit the code above and click Run.
db.employees.find({ department: "Engineering" });
Try solving on your own first, then reveal the official answer.
Filter documents with JSON-style query object—similar to JavaScript objects.