To find if a key/field exists in your document use the $exists operator.
Via the MongoDB shell …
db.things.find( { ln : { $exists : true } } );
To find if a key/field exists in your document use the $exists operator.
Via the MongoDB shell …
db.things.find( { ln : { $exists : true } } );