I\'m trying to query for an id inside an array of a document, but I just found a way that I query inside the whole collection, and I think this is not the most optimized way