Hi,

Is it possible to break a table in two Python objects? Ex:

Python objects:

class Person:

    name = Column(String)

class Address:

    street = Column(String)
    city = Column(String)


Table:

table Person
    name varchar
    city varchar
    street varchar

How can i make the "connection" between the two? And is it possible to make
the inverse? (table Person and Address to a single Python object Person)

Thks in advance,

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to