I have a MongoDB document with an array called forms, inside the array each item is a dictionary, there are a couple of documents in this format, each document has an email field for user identification, and each dictionary has an identifier called title. My question is how do I check if a specific dictionary is inside the array using the title parameter and retrieve the index, and how do I ensure that I will find the item in the current user document?
Thanks