[orm-devel] many2many extension
Ross J. Reedstrom
orm-devel@mailman.tux4web.de
Fri, 29 Nov 2002 03:05:09 -0600
On Thu, Nov 28, 2002 at 12:33:43AM +0100, Diedrich Vorberg wrote:
> Hi Ross,
>
> I have added two parameters to the many2many relationship: myKey and
> childKey. The two new parameters default to the parent and the child
> class' primary key respectively and should solve this problem.
Excellent - I'll pull this from CVS and take a look at it right away.
>
> >I'm playing with ORM a bit, to see how it might fit into our Postgresql/Zope
> >setup. One thing I'm looking at is the many2many relationship. As written,
> >it has a builtin assumption: that your 'matrixtable' (I usually
> >call this a linking table) hold the primary keys of the two linked tables.
> Uhh... say is linking table in a way 'official'? To be completely
> honest I learned SQL from bits and peaces I picked up on the web. I
> never read a book on it with anything like an academic appeal to it.
> (Most titles I find are 90% things I already know and I was never up
> to spend 40 EUR on that 10%) So if 'link table' is used for that kind
> of thing I'll modify the identifyer.
Hmm, I'd wait until I get back in the office and have my SQL books handy.
I'll definitely look this up, however.
Ross