buildRepositories static method
The repositories of the cron tables for adapter, to be returned by
DBRelationalEntityRepositoryProvider.buildRepositories.
A List<DBSQLEntityRepository>: it can be added to a list of
DBSQLEntityRepository or of EntityRepository (the list is
covariant), with no cast.
Implementation
static List<DBSQLEntityRepository> buildRepositories(DBSQLAdapter adapter) =>
[
DBSQLEntityRepository<APICronJobRun>(
adapter,
runsTable,
apiCronJobRunEntityHandler,
),
DBSQLEntityRepository<APICronJobLock>(
adapter,
locksTable,
apiCronJobLockEntityHandler,
),
];