Painting Blue Code
Simple, self-explanatory code snippets.
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment