Yes, I did read about many-to-many relationships before posting. And you're right, 2 qualifies as "many".
However, like I described, this is a special case of many-to-many. As far as DB design goes, there is no need for a relation table between games and players because there are 2 and only 2 players per game. It's natural to keep 2 foreign keys in the games table instead. I can of course add a relation table, but it would be a complication needed only to satisfy a (supposed?) ErlyDB requirement. I read the official docs and they seem to imply this is not supported, so (since I am new to ErlyDB) I was asking if I can keep my current DB structure (which is the most natural) and still capture its relations in ErlyDB. Thanks again. On May 10, 11:11 pm, Alexander Dergachev <[email protected]> wrote: > Hi! > > I`m sorry, but don`t you think that 2-to-many it`s the same as many-to-many? > :) > > So, did you have a look at this > page?http://yarivsblog.com/articles/2006/08/30/many-to-many-relations-are-... > > Just have a look, and I guess you won`t have this kind of question :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "erlyweb" 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/erlyweb?hl=en -~----------~----~----~----~------~----~------~--~---
