I have a collection of persons with id, name, birthday_date, address and phone_numbers(it is an array).
(https://i.stack.imgur.com/IMb8p.png)
I want to do a query that finds the persons whose at least on of the phone number starts with 272
i tried this:
db.Pessoa.find({contatos_telefonicos: /^272/i })
but it didn't worked, as you can see there is a person that the number starts with 272: (https://i.stack.imgur.com/YDbzy.png)