$$CacheTableTableManager constructor

$$CacheTableTableManager(
  1. _$CommonDatabase db,
  2. $CacheTable table
)

Implementation

$$CacheTableTableManager(_$CommonDatabase db, $CacheTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$CacheTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$CacheTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$CacheTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          Value<String> checksum = const Value.absent(),
          Value<int> rowid = const Value.absent(),
        }) =>
            CacheCompanion(
          checksum: checksum,
          rowid: rowid,
        ),
        createCompanionCallback: ({
          required String checksum,
          Value<int> rowid = const Value.absent(),
        }) =>
            CacheCompanion.insert(
          checksum: checksum,
          rowid: rowid,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));