On 10/29/06, Lord Galrion <[EMAIL PROTECTED]> wrote:
> but I can't figure out how to a simple SELECT * FROM table WHERE
> x='foo' AND y='bar'
> conditional statement

results = Table.select(and_(Table.q.x=='foo', Table.q.y=='bar'))

http://sqlobject.org/SQLObject.html#selecting-multiple-objects

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to