mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b9922a7314
The ` $has_one` can be used both for `1-to-1` and `many-to-1` relations, depending on how is configured the inverse mapping on the related class. The documentation seems to suggest that `$has_one` implies a `1-to-1` relation, but then it gives an example of a `many-to-1` relationship. Since we are focusing on `$has_one` I would also put the `Player` class before the `Team` class. |
||
---|---|---|
.. | ||
00_Model | ||
01_Templates | ||
02_Controllers | ||
03_Forms | ||
04_Configuration | ||
05_Extending | ||
06_Testing | ||
07_Debugging | ||
08_Performance | ||
09_Security | ||
10_Email | ||
11_Integration | ||
12_Search | ||
13_i18n | ||
14_Files | ||
15_Customising_the_Admin_Interface | ||
16_Execution_Pipeline | ||
17_CLI | ||
18_Cookies_And_Sessions | ||
index.md |