-
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
Query: Support for String.CompareTo #5369
Comments
What would be the SQL translation? |
@ErikEJ I guess it depends on what type is |
@ErikEJ a simple WHERE Path > 'something'. |
@Villason in SQL (well at lest on MSSQL), strings comparison is simply a length comparison |
@gdoron that is not correct. > and < operands compare the strings "alphabetically". |
@Villason ohh my bad, this was what I remembered... |
@gdoron well, this is why I am using it. The code is part of a "Load more" pattern implementation. |
This should be working in 1.0.0 already. @Villason - Can you verify? |
Might be related to #1767.
I have some classes that returns expressions that afterwards are compiled into a final expression. This code does not translates to SQL:
The warning is:
Is this the expected behavior?
Update:
If I switch to this:
I get an exception with this bug: #3464
To answer the questions: Path is a string.
The text was updated successfully, but these errors were encountered: