Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Retrieve only the queried element in an object array in MongoDB collection

Suppose we want retrieve only the queried element in an object array then we need to perform mongo query like below. Let me explain with this help of example. { _id: 4, zipcode: "63109", students: [ { name: "ankit", scho...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: