2019-05-09

MongoDB - Retrieve documents where a field exists

db.COLLECTION_NAME.find(
    { FIELD_NAME : { $exists: true}}
);

No comments:

Post a Comment