2019-05-09

MongoDB - Retrieve documents where a field does not exist

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

No comments:

Post a Comment