$$CacheSummaryTableTableManager constructor

$$CacheSummaryTableTableManager(
  1. _$CommonDatabase db,
  2. $CacheSummaryTable table
)

Implementation

$$CacheSummaryTableTableManager(_$CommonDatabase db, $CacheSummaryTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$CacheSummaryTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$CacheSummaryTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$CacheSummaryTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          Value<int> id = const Value.absent(),
          Value<int> size = const Value.absent(),
          Value<PreciseDateTime?> modified = const Value.absent(),
          Value<int?> maxSize = const Value.absent(),
        }) =>
            CacheSummaryCompanion(
          id: id,
          size: size,
          modified: modified,
          maxSize: maxSize,
        ),
        createCompanionCallback: ({
          Value<int> id = const Value.absent(),
          Value<int> size = const Value.absent(),
          Value<PreciseDateTime?> modified = const Value.absent(),
          Value<int?> maxSize = const Value.absent(),
        }) =>
            CacheSummaryCompanion.insert(
          id: id,
          size: size,
          modified: modified,
          maxSize: maxSize,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));