(sorry my poor english) Hi All!
My table fields : id, personName, order.
- How to select field order by (fieldname) 'order' ?
- Try:
:find(array('order'=>'order')
:find(array('order'=>'[order]')
:find(array('order'=>'
order
')
queryBuilder()->orderBy('order'),
queryBuilder()->orderBy('[order]'),
queryBuilder()->orderBy('`order')
if colums select: ' , 'order' as sort' and 'order by sort' working, but the response not in model class. many tables have 'order' field, and not possible rename all field. :(
Thank you! Andrew