How to query Mongo DB with opposite filter on Python (pymongo)?

Viewed 17

I have Collection and filter. filter = {'name': 'Bob', 'age': 10}

Now I want to query the collection and get the documents where names and ages are different than Bob and 10 (together) respectfully on Python.

Thank you.

0 Answers
Related