how to make query in mongodb which return that not found user1 or not found user2 code example
Example 1: mongodb find all that dont have property
db.things.find( { a : { $exists : false } } ); // return if a is missing
Example 2: query mongodb
db.inventory.find( { status: "D" } )