Template
single collection
multiple collections
mgodatagen
update
indexe
explain
Stage
Database
bson
mgodatagen
[{"email":"example+@gmail.com"},{"email":"example$@gmail.com"}]
Query
db.collection.aggregate([{"$match":{"$expr":{"$eq":[{"$toLower":"$email"},{"$toLower":"EXAMPLE+@gmail.com"}]}}}])
Result