Thats right, I remember seeing that somewhere now, thanks for the help guys!

On 9/15/06, Clint Miller <[EMAIL PROTECTED] > wrote:
Dan,

I know you can pass a comma separated list of column names that will sort the results of the query.  I.e., gateway.getAll('id,name,etc...') being equivalent to .... ORDER BY id ASC, name ASC, etc....

What I don't know is how to make those descending.  Maybe someone else will chime in.

Clint Miller

On Sep 15, 2006, at 1:26 PM, Dan Vega wrote:

I have never come across this so please forgive me if its an easy one!

I use a getAll() method in many many places and need to change the sort order. Can this be done or do I have to change my code to use the query object?

--
Dan Vega
[EMAIL PROTECTED]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



--
Dan Vega
[EMAIL PROTECTED]
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to