mongodb find if projection does not exist code example Example: mongodb exists db.records.find( { a: { $exists: true } } )