Articles → MONGODB → In And Nin Operators In MongodbIn And Nin Operators In MongodbIn this article, we will discuss the $in and $nin operators in MongoDB.Sample Collection Consider the following collection: -$In The $in operator returns the collection if the value(s) exist in an array.$Nin The $nin operator returns the collection if the value(s) does not exist in an array.Posted By - Karan Gupta Posted On - Friday, January 5, 2024 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
Query/Feedback