On 5/19/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
> I can't seem to get SO to reference the
> "a_b" table, and SO documentation is a bit lacking.
>

I had a similar need and I simply created another class that
referenced the relationship table seperately - I also had some extra
fields in there too.  As long as you make sure that your RelatedJoin
declaration has the joinColumn and otherColumn parameters set
correctly the join table can have as much extra data as you want.

I then created _get_ and _set_ methods within each class that had the
RelatedJoin so I could access the reference table without having to
mess around with .select() all the time.

Hope this helps.

Lee

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