Imagine “my_newimage_db” database as multiple collections (say month as collection name in our example below) and what if I would like to search a value of a field and check whether which collection has a value for it. For this…