mongodb check if value is null code example Example: mongodb query missing field db.inventory.find( { item: null } )