mongodb, где поле не равное
db.collection.find({"fieldName: {$ne: 2}})
Upvote answer :-)
db.collection.find({"fieldName: {$ne: 2}})