mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update docs/en/02_Developer_Guides/00_Model/02_Relations.md
Co-authored-by: Guy Marriott <guy.the.person@gmail.com>
This commit is contained in:
parent
a5e4a5c97d
commit
ed50c1b94e
@ -324,7 +324,7 @@ This is declared via array syntax, with the following keys on the many_many:
|
|||||||
- `from` Name of the has_one relationship pointing back at the object declaring many_many
|
- `from` Name of the has_one relationship pointing back at the object declaring many_many
|
||||||
- `to` Name of the has_one relationship pointing to the object declaring belongs_many_many.
|
- `to` Name of the has_one relationship pointing to the object declaring belongs_many_many.
|
||||||
|
|
||||||
Just like in any normal DataObject, you can apply a default sort which will be applied when
|
Just like any normal DataObject, you can apply a default sort which will be applied when
|
||||||
accessing many many through relations.
|
accessing many many through relations.
|
||||||
|
|
||||||
Note: The `through` class must not also be the name of any field or relation on the parent
|
Note: The `through` class must not also be the name of any field or relation on the parent
|
||||||
|
Loading…
Reference in New Issue
Block a user