Command
db.users.find({age: 25})
Explanation
Fetches documents that match the filter criteria. Useful for querying specific records.
Examples
Find orders with quantity 10
db.orders.find({qty: 10})
db.users.find({age: 25})
Fetches documents that match the filter criteria. Useful for querying specific records.
Find orders with quantity 10
db.orders.find({qty: 10})