Articles → MONGODB → $Match In MongoDB$Match In MongoDBIn this article, we will discuss the $match function in MongoDB.Purpose The $match is the aggregate framework stage used to filter records.Example db.Articles.aggregate([{ $match: { subject: 'css' } }]);Output Click to EnlargePosted By - Karan Gupta Posted On - Wednesday, August 23, 2023 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
db.Articles.aggregate([{ $match: { subject: 'css' } }]);
Query/Feedback