For Insensitive queries in MongoDB you can use $regex. This allows you to perform a filter without considering upper or lower case letters.
Yo can use $regex as follow:
db.students.find({first_name: { $regex: /Mario/i} })
For Insensitive queries in MongoDB you can use $regex. This allows you to perform a filter without considering upper or lower case letters.
Yo can use $regex as follow:
db.students.find({first_name: { $regex: /Mario/i} })