-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cosmos: Translate regex matching #28078
Comments
This isn't currently supported, but you can use raw SQL queries to call the function in SQL yourself. |
Thanks @roji for the quick reply |
@roji @AndriySvyryd What is your point of view for implementing this feature? smth like this?
|
Adding to what @roji said you can also translate some of the options, but throw for the ones not supported by Cosmos.
|
Note: we also already translate Regex.IsMatch in SQLite and have tests for it in NorthwindFunctionsQueryTestBase. |
How to use RegexMatch in EF Core Cosmos C#
I want to apply the below in Linq. Here code is in-case sensitive
Cosmos Query
SELECT * FROM c
WHERE RegexMatch (c.Code, "ZWw","i")
The text was updated successfully, but these errors were encountered: