Skip to content

How does OrderBySqlFormula support prepared statement? #118

@abcfy2

Description

@abcfy2

I find OrderBySqlFormula class support ORDER BY native sql, but how to use prepared statement? I think it's useful.

E.g:

criteria {
    order(OrderBySqlFormula.sqlFormula('? + ?', [args.one, args.two]))
}

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