Skip to content
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

Remove null last ordering as default, add empty null order #61

Conversation

EvgenyAfanasev
Copy link
Contributor

fix for #60

@AugustNagro
Copy link
Owner

LGTM.

This change will require a major version release (2.0.0) since it changes behavior of existing programs. However, I think that's OK for our next release. I'd like to refactor Spec anyway to remove the build method; constructing the SQL should be the responsibility of the DbType class, since it knows which database syntax to use.

For example, we CAN support NullOrder.Last for MySql, but not as currently implemented in build:

https://stackoverflow.com/a/4195311

@AugustNagro AugustNagro merged commit f978d91 into AugustNagro:master Nov 13, 2024
1 check passed
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.

2 participants