Welcome Guest, Not a member yet? Register   Sign In
How do you setup relationships with DMZ using 3 data tables and a single join table?
#2

[eluser]WanWizard[/eluser]
If you're looking at defining a many-to-many between all these tables using a single join table, stop looking, you can't. Simply because the name of the join table is automatically determines based on the two models in the relation. And not three.

It would be possible if you could define the 6 many-to-many relations involved if you could somehow override the name of the join table.

If you want this, please create an issue at http://bitbucket.org/wanwizard/datamapper/issues, so I can have a look at it. I might be able to sqeeze it in for the 1.8.0 release, planned for the end of the year.


Messages In This Thread
How do you setup relationships with DMZ using 3 data tables and a single join table? - by El Forum - 12-08-2010, 11:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB