I have this query here:
var filter =
builder.Eq("BuyerDetails.Buyer.Email", request.BuyerEmail)
| builder.Eq("BuyerDetails.Buyer.FirstName", request.FirstName)
& builder.Eq("BuyerDetails.Buyer.Surname", request.LastName);
however the problem is that i am unable anticipate the case of the email, firstname and surname is mongo.
if the request is firstName = "STACK" and LastName = "OVERFLOW"
and the document in mongo is "firstName = "stack" and LastName = "overflow"
it will not match.
how can i filter with and make it case insensitive?