mongo find documents that have a certain key code example Example: mongo find documents that have a certain key db.coll.find({"mykey":{'$exists': 1}})