2015-08-12

MongoDB - Find documents where a field does not exist

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

No comments:

Post a Comment