2008年9月10日星期三

[fw-db] natural order sorting in select object

Heya folks.

I normally make mysql enforce natural order sorting by simply adding +0
prior to the asc clause eg
order by house_number asc +0

How can i do this with the zend_db_select object?
$select->order('house_number +0 asc')
does not work.
--
View this message in context: http://www.nabble.com/natural-order-sorting-in-select-object-tp19412845p19412845.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: