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

[Bug] MySQL does not support the NULLS FIRST / NULLS LAST options #22

Open
miclle opened this issue Mar 2, 2023 · 0 comments
Open

[Bug] MySQL does not support the NULLS FIRST / NULLS LAST options #22

miclle opened this issue Mar 2, 2023 · 0 comments

Comments

@miclle
Copy link

miclle commented Mar 2, 2023

https://github.com/longbridgeapp/nested-set/blob/main/nested_set.go#L295

Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'NULLS FIRST, lft ASC FOR UPDATE'

https://learnsql.com/blog/how-to-order-rows-with-nulls/

@miclle miclle changed the title MySQL does not support the NULLS FIRST / NULLS LAST options [Bug] MySQL does not support the NULLS FIRST / NULLS LAST options Mar 2, 2023
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

No branches or pull requests

1 participant