Skip to content

Bug/improvement: Null last with varchar #1809

Open
@royduin

Description

@royduin

For MySQL nulls_last_sql should be set to -%s %s according the docs, but that only works with numeric values. I'd like to use the solution for varchar values: ISNULL(field), field ASC but that requires the column name 2 times which isn't possible with sprintf(); ISNULL(%s), %s %s. It results in: sprintf(): Too few arguments

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions