Skip to content

[NFR] PostgreSQL row sorting: implement [NULLS { FIRST | LAST }] #801

Open
@sergeyklay

Description

@sergeyklay

From @globalundo on April 15, 2013 13:36

Currently, on executing following piece of code:

$robots = Robots::find(array(
    "order" => "name DESC NULLS LAST"
));

Exception rises:

Phalcon\Mvc\Model\Exception: Syntax error, unexpected token IDENTIFIER(NULLS), near to ' LAST'

Copied from original issue: phalcon/cphalcon#548

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions