No idea ? On 24 oct, 17:54, willy <[EMAIL PROTECTED]> wrote: > Hello, > > First, I apologize for my bad English. > It's about the many-to-many relationships that symfony generates. > I have three tables ' sites', 'subscriptions' and' containers' and > their ids > are 'id_site', 'id_subscription' and 'id_container'. > And finally, I have a table 'sites_subscriptions_containers' linking > these 3 ids. > > In my schema.yml file, the order of appearance is: > sites_subscriptions_containers > id_site: > [...] > foreignTable: sites > foreignReference: id_site > id_container: > [...] > foreignTable: containers > foreignReference: id_container > id_subscription: > [...] > foreignTable: subscriptions > foreignReference: id_subscription > And for each generator.yml file, I generate the many-to-many > relationship. > For example, for the 'Containers' table: > > edit: > display: > - sites_subscriptions > fields: > sites_subscriptions: > type: admin_double_list > params: through_class = SitesSubscriptionsContainers > > What I get is a box with the 'sites' without the 'subscriptions'. > It is the same case for the two others tables, which means that I > see that the first "other" field in my schema.yml. > > So I would like to know if symfony allows many-to-many relationships > with 3 id. > And if it is possible, how can I do ? > > Thanks > Willy
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---