On the subject of filtering data in a collection

Can you confirm that these two filtering statements are not the same.

{“director”: “Patty Jenkins”}
&
{“director” : “patty jenkins”}

If we do not know how the directors name was stored, how do we now locate the document?

They are not the same. Most of the time equality matches are case sensitive. You should take the name of fields and string values as given in the problem statement.

Hi @Olufemi_Ogunfowora,

They are not the same. If you want to do case insensitive matching then you could use Regular expression.

Please refer our documentation : $regex

Let me know if you have any questions.

~ Shubham