Skip to content

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

Description

@miclle

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions