|
Lightweight 0.20260625.0
|
Marks the join record of a relationship that is reached through an intermediate table. More...
#include <Record.hpp>
Public Types | |
| using | RecordType = JoinRecordT |
| The join record type this marker wraps. | |
Marks the join record of a relationship that is reached through an intermediate table.
Writing the join record bare - HasManyThrough<Person, Friendship> - leaves the reader to remember which of the two record types is the join table. Wrapping it says so at the call site:
The bare spelling still compiles, but is deprecated and will be removed in a future release.
| JoinRecordT | The join record type, holding the foreign keys of the relationship. |
Definition at line 157 of file Record.hpp.
| using Lightweight::Through< JoinRecordT >::RecordType = JoinRecordT |
The join record type this marker wraps.
Definition at line 160 of file Record.hpp.