Hi I’m new to MongoDB and I’m facing an issue with the deleteMany method by using $nin.
Irrespective of using $nin, the method is deleting all records in database.
Please help me out with this issue. Thank you in Advance.
Hi I’m new to MongoDB and I’m facing an issue with the deleteMany method by using $nin.
Irrespective of using $nin, the method is deleting all records in database.
Please help me out with this issue. Thank you in Advance.
Looks like a misspelled field name.
A few, well formatted, sample documents and the exact query would be useful to provide a better diagnostic.