mongodb: how to query a record that doesn't have a column
I want to find out a record that doesn't have the "name" column, how to do it in mongo console?
Thanks开发者_运维技巧. Bin
Should be
db.things.find( { name : { $exists : false } } ); // return if name is missing
精彩评论