logs property

Implementation

_i1.ManyRelation<_i2.LogEntryTable> get logs {
  if (_logs != null) return _logs!;
  var relationTable = _i1.createRelationTable(
    relationFieldName: 'logs',
    field: SessionLogEntry.t.id,
    foreignField: _i2.LogEntry.t.sessionLogId,
    tableRelation: tableRelation,
    createTable: (foreignTableRelation) =>
        _i2.LogEntryTable(tableRelation: foreignTableRelation),
  );
  _logs = _i1.ManyRelation<_i2.LogEntryTable>(
    tableWithRelations: relationTable,
    table: _i2.LogEntryTable(
      tableRelation: relationTable.tableRelation!.lastRelation,
    ),
  );
  return _logs!;
}