On Mon, Feb 04, 2008 at 11:33:21PM -0500, Christopher Singley wrote:
> I've made great use of passing dicts into select methods, e.g.:
> queryDict= {'name': 'jim', 'age':34}
> result = Person.selectBy(**queryDict)
> 
> How can I combine a dict-based SELECT with an inequality?
> Like if I wanted to further refine the above query to filter
> for (e.g.) only those with timeStamp <= datetime.date(2007,1,1)

   Hint: how can you express the ineqality with a dict?

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            [EMAIL PROTECTED]
           Programmers don't die, they just GOSUB without RETURN.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to