ADVERTISEMENT
Google AdSense Slot (headerLeaderboard)

Set your Publisher ID in src/config/ads.ts to display live ads.

MongoDB NoSQL Database Tutorial• 6 min read

CRUD Operations & Query Operators

Query documents using comparison operators ($gt, $lt, $in) and logical operators ($and, $or).

Expressive Query Selectors

db.products.find({ price: { $gte: 20, $lte: 100 }, status: "active" }) filters products with prices between 20 and 100.

ADVERTISEMENT
Google AdSense Slot (inContentBanner)

Set your Publisher ID in src/config/ads.ts to display live ads.

Test Yourself With Exercise

+15 XP

Which query operator selects documents where the value of a field is greater than or equal to a specified value?