Skip to content

Added support for REPLACE-function in WHERE-clause #305

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

Merged
merged 1 commit into from
Jun 4, 2016

Conversation

crazyfx1
Copy link

@crazyfx1 crazyfx1 commented Jun 3, 2016

If you currently use the .NET-String-Replace in a Where-Clause you receive an error, because this call is translated to Replace("string1", "string2") in SQLite, which is the wrong syntax. This happens because the Replace function is not handled in CompileExpr.

I've added the condition to translate the Replace-Method with the correct call in SQLite.

@oysteinkrog
Copy link
Owner

Awesome, thanks :)

@oysteinkrog oysteinkrog merged commit 89a5a76 into oysteinkrog:master Jun 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants