silverstripe-framework/docs/en/02_Developer_Guides/00_Model
maks b9922a7314
$has_one docs
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.
2018-08-18 15:06:08 +02:00
..
How_Tos Code block whitespace / formatting cleanup 2017-10-27 15:38:27 +13:00
01_Data_Model_and_ORM.md DOCS Consistent app/ folder and composer use 2018-06-25 10:40:19 +12:00
02_Relations.md $has_one docs 2018-08-18 15:06:08 +02:00
03_Lists.md Add crosslinks to lessons 2017-11-27 16:50:38 +13:00
04_Data_Types_and_Casting.md DOCS Consistent app/ folder and composer use 2018-06-25 10:40:19 +12:00
05_Extending_DataObjects.md Add crosslinks to lessons 2017-11-27 16:50:38 +13:00
06_SearchFilters.md Add crosslinks to lessons 2017-11-27 16:50:38 +13:00
07_Permissions.md Update 07_Permissions.md 2018-08-17 13:46:29 +12:00
08_SQL_Select.md Add crosslinks to lessons 2017-11-27 16:50:38 +13:00
09_Validation.md Update 09_Validation.md 2018-02-14 11:48:07 +13:00
10_Versioning.md DOCS Minor versioned edits 2018-07-02 15:55:09 +12:00
11_Scaffolding.md Updating searchable fields w namespaces 2017-12-06 22:37:25 +13:00
12_Indexes.md DOCS Consistent app/ folder and composer use 2018-06-25 10:40:19 +12:00
index.md FIX Add namespaces in markdown docs (#7088) 2017-07-03 13:22:12 +12:00