$exists As mongoDB is  schema less. In database some table can have different schema. for example if we have Persons database and in that database we have people collection.  If we need to know that whether a certain field exists in collection or not. Syntax: { field: { $exists: <boolean> } }   db.people.find( {