employmentHistoryRefs property

Implementation

$$EmploymentHistoryTableProcessedTableManager get employmentHistoryRefs {
  final manager =
      $$EmploymentHistoryTableTableManager(
        $_db,
        $_db.employmentHistory,
      ).filter(
        (f) => f.employeePositionId.id.sqlEquals($_itemColumn<int>('id')!),
      );

  final cache = $_typedResult.readTableOrNull(
    _employmentHistoryRefsTable($_db),
  );
  return ProcessedTableManager(
    manager.$state.copyWith(prefetchedData: cache),
  );
}