You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/2. Active Record.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ $customer->read($value);
80
80
* Returns an array of errors indexed by field name. Empty array means the record has correctly validated.
81
81
82
82
## Related Records
83
-
Related records are indicated by field name ending in the id suffix (default: 'Id'). The field name before the 'Id' must be the same as the corresponding table name.
83
+
Related records are indicated by field name ending in the id suffix (default: 'Id'). The field name before the 'Id' must be the same as the corresponding table name. See See [Virtual Fields](<https://github.com/phpfui/ORM/blob/main/docs/5. Virtual Fields.md>) for more advanced Related Records.
84
84
85
85
### Accessing Related Records
86
86
You access the related record by the base field name (without the id suffix). The field with the id suffix is the primary key of the related record.
0 commit comments