c# mongodb case sensitive search
问题 I have a collection in which I store Email and password of user. I obviously don't want to require the user to insert his email case sensitive and to be exactly as when he first registered. I'm using mongodb 2.0 c# driver, I'm repeating it because I saw solutions to queries written with regex but I'm afraid I cant user it in here. my query looks like var filter = Builders<ME_User>.Filter.And( Builders<ME_User>.Filter.Eq(u => u.Email, email), Builders<ME_User>.Filter.Eq(u => u.Password,