Yes.  The assumption is that the objects are mapped to the tables.

provider.py - line 27:
mapper = sqlalchemy.orm.class_mapper(obj)

This gets the mapper given the class, and the mapper gets you the
table associated with it.
It is rapped in a try: except: so that if you have objects in your
model that are not associated with a mapper they will be skipped.

-chris

On Mar 1, 10:07 pm, "Karl Guertin" <[EMAIL PROTECTED]> wrote:
> On 3/1/07, percious <[EMAIL PROTECTED]> wrote:
>
>
>
> > I could use some help with the relationship stuff if anyone is
> > interesting in continuing this path.
>
> Do we assume someone's using assignmapper? I don't know of a good way
> to get relation information given only a table.
>
> Congrats on getting everything else working, by the way.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to