1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/manual/docs/Mapping object relations - Join table associations - Many-to-Many.php
2006-07-23 21:08:06 +00:00

6 lines
355 B
PHP

If you are coming from relational database background it may be familiar to you
how many-to-many associations are handled: an additional association table is needed.
<br \><br \>
In the following example we have Groups and Users of which relation is defined as
many-to-many. In this case we also need to define an additional class called Groupuser.