applyRelations property

TRow Function(TRow row, Map<String, Object?> relations)? applyRelations
final

Puts loaded related rows into a row, and records which were loaded.

Rows are immutable, so attaching a relation produces a new row, and only the generated class knows which field each relation name belongs to. Null means the table has no generated relations.

Implementation

final TRow Function(TRow row, Map<String, Object?> relations)? applyRelations;