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

6 lines
355 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
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.