Open abcfy2 opened 5 years ago
I find OrderBySqlFormula class support ORDER BY native sql, but how to use prepared statement? I think it's useful.
OrderBySqlFormula
ORDER BY
E.g:
criteria { order(OrderBySqlFormula.sqlFormula('? + ?', [args.one, args.two])) }
I haven't taken a look into this and I'm not sure if it would be possible or not.
I find
OrderBySqlFormula
class supportORDER BY
native sql, but how to use prepared statement? I think it's useful.E.g: