- ModelRef
alias ModelRef = ModelRefImpl!(primaryKeyAlias, T, TPatch)
Undocumented in source.
- T
alias T = ModelFromSomePatch!TPatch
Undocumented in source.
- TPatch
alias TPatch = PatchFromIdOrPatch!idOrPatch
Undocumented in source.
- primaryKeyAlias
alias primaryKeyAlias = IdAliasFromIdOrPatch!idOrPatch
Undocumented in source.
DORM field type representing a referenced model through a foreign key in SQL.
The actual data stored in the DB as foreign key is what's stored in the foreignKey member. The populated property is simply a cache member for supporting proactively fetched joined data from the database. Trying to access the populated data without having it populated will result in a program crash through assert(false).