On 11/2/06, Michael Steinfeld <[EMAIL PROTECTED]> wrote:
> Alright, I asked this already, but I cannot find where it is on the mailing
> lists.
>
> I was asking how I can do "SELECT field1, field2 FROM tablename WHERE f1='a'
> AND f2='x'"
>
SO is not a relation database engine, you can't select field 1 and 2
you have to get one object as for the where you need
Table.selectby(field1='a',field2='x') and the're at least 2 more ways
of doing it with a plain Select and with the q magic
http://sqlobject.org/SQLObject.html#selecting-multiple-objects

> How do you do it with sqlobject? I spend hours reading different approaches
> and none work ;(
>
> thanks guys,
>
> --
> -mike
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
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