Mongodb – PyMongo – How to compare the given array exactly matches with the document
I have a MongoDB document with the following attributes: { "label": [ "ibc", "ibd", "ibe" ], "location": "vochelle st" } and I have to return the document only if the documents label exactly matches the given array i.e., ["ibc","ibd"] and…