In a case like this, why not using python sql interface, and use the "select x, y from t where z='what'"?

--
JP

On 8/31/05, Oleg Broytmann <phd@mail2.phd.pp.ru> wrote:
On Wed, Aug 31, 2005 at 06:08:01PM +0400, Oleg Broytmann wrote:
> a, b = conn.queryOne(conn.sqlrepr(
>    Select(MyTable.q.a, MyTable.q.b, MyTable.q.c == "filterByMe")
> ))

   Ahem, sorry...

a, b = conn.queryOne(conn.sqlrepr(
   Select([MyTable.q.a, MyTable.q.b], MyTable.q.c == "filterByMe")
))

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss