Skip to content
RED SAGSkills
medium10 pts · first answer countsdatabasesmongodbindexes

Case-insensitive unique emails in MongoDB

You want MongoDB to reject 'Ravi@x.com' if 'ravi@x.com' exists, while keeping the original casing stored. What is a good approach?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions