You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the quick response! Yep it works perfectly this way. 🥳
I guess the regex handling works differently for each driver that is why it's not working correctly here, right? I also noticed that I can add a flags property if I use $re in the where condition but it also throws an error.
E.g.
constregexTestResponse=awaitclientRepository.find({name: {$re: "corkery and sons",flags: 'i'},});
Describe the bug
The regex flags in where conditions does not work.
Expected behavior
I wanted to filter on the name of a client entity. The Client entity looks like this
In the database you can find this record (returned when calling a
findAll()
without any further options)However
When I wanted to filter on the name with regex using the incasesensitive (i) flag it returns nothing.
Versions
The text was updated successfully, but these errors were encountered: