Re: [SQLObject] [PATCH] Fix SQLObject.selectBy(orderBy=...)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2005-07-14 08:57:39
|
On Tue, Jul 12, 2005 at 04:48:14PM +1000, Andrew Bennetts wrote: > Here's a patch with a simple test case to make selectBy support the orderBy > keyword argument: > > > return cls.SelectResultsClass(cls, > conn._SO_columnClause(cls, kw), > + orderBy=orderBy, > connection=conn) Why not to add other keywords? Look at .select() for the list of keywords. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |