Re: [SQLObject] orderBy multiple columns

2007-04-25 Thread Oleg Broytmann
On Wed, Apr 25, 2007 at 06:42:02PM +0400, Oleg Broytmann wrote: > On Wed, Apr 25, 2007 at 10:18:02AM -0400, David Turner wrote: > > I added this to the docs. > >Where? Found it r2592. I haven't got a mail from sqlobject-cvs list with this commit. Strange... Oleg. -- Oleg Broytmann

Re: [SQLObject] orderBy multiple columns

2007-04-25 Thread Oleg Broytmann
On Wed, Apr 25, 2007 at 10:18:02AM -0400, David Turner wrote: > I added this to the docs. Where? Oleg. -- Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. --

Re: [SQLObject] orderBy multiple columns

2007-04-25 Thread David Turner
On Wed, 2007-04-25 at 00:24 +0400, Oleg Broytmann wrote: > On Tue, Apr 24, 2007 at 03:51:40PM -0400, David Turner wrote: > > >orderBy() requires a list: > > > > > > Table.select(query).orderBy(["col1 asc", "col2 desc"]) > > > > I get errors when I try the first of these. > >Oops, I have

Re: [SQLObject] orderBy multiple columns

2007-04-24 Thread Oleg Broytmann
On Tue, Apr 24, 2007 at 03:51:40PM -0400, David Turner wrote: > >orderBy() requires a list: > > > > Table.select(query).orderBy(["col1 asc", "col2 desc"]) > > I get errors when I try the first of these. Oops, I have forgotten about that special SQLObject syntax. Table.select(query).order

Re: [SQLObject] orderBy multiple columns

2007-04-24 Thread David Turner
On Tue, 2007-04-24 at 15:56 +0400, Oleg Broytmann wrote: > On Tue, Apr 24, 2007 at 07:49:14AM -0400, David Turner wrote: > > I can't figure out how to make SQLObject order by multiple columns. Is > > this possible? It seems like Table.select(query).orderBy("col1 asc, > > col2 desc") or something

Re: [SQLObject] orderBy multiple columns

2007-04-24 Thread Oleg Broytmann
On Tue, Apr 24, 2007 at 07:49:14AM -0400, David Turner wrote: > I can't figure out how to make SQLObject order by multiple columns. Is > this possible? It seems like Table.select(query).orderBy("col1 asc, > col2 desc") or something ought to just work, but SQLObject rejects it. > Any ideas? or

[SQLObject] orderBy multiple columns

2007-04-24 Thread David Turner
I can't figure out how to make SQLObject order by multiple columns. Is this possible? It seems like Table.select(query).orderBy("col1 asc, col2 desc") or something ought to just work, but SQLObject rejects it. Any ideas? -