No description provided.
fixing the problem with order and \Zend\Db\Sql\Expression
Please add a test case
sending the test file of Fixing the problem with order and \Zend\Db\S…
So your feature request is that you want to use expressions with order()? What do you need to do with an exression object that you can't already achieve with a string or array notation?
I found the problem when I needed to use the function "rand ()" to return the MySql random fields.
I checked that was implemented logic Sql \ Expression, I enabled only for "order ()".
Ps. In Zend Framework 1 was recommended to use "zend_db_expr()"
Merged to develop, thanks!