I\'m new using MongoDB, and I don\'t know how to solve the next problem:
I have a collection of documents like this:
{
\"URL\": \"www.stackoverflow.com\
This might help you.
The $elemMatch projection operator takes an explicit condition argument. This allows you to project based on a condition not in the query, or if you need to project based on multiple fields in the array’s embedded documents.**
https://docs.mongodb.com/manual/reference/operator/projection/elemMatch/