Hallo,
Shayne ONeill hat gesagt: // Shayne ONeill wrote:

> Wow. That looks totally neat. How well does it cope with inner joins and
> the like?

Joins in general are even cuter. For the full docs look at
http://sqlobject.org/docs/SQLObject.html but if you set up your
classes a certain way, that you can access joined data as "pluralized
attributes". The standard example is having one table "Person" and
another "Adress" which are joined so you can say: 

my = Person.byName("Frank")
for addr in my.addresses:
        print addr.phoneNumber

I like that.

ciao
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to