$$BackgroundTableTableManager constructor

$$BackgroundTableTableManager(
  1. _$CommonDatabase db,
  2. $BackgroundTable table
)

Implementation

$$BackgroundTableTableManager(_$CommonDatabase db, $BackgroundTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$BackgroundTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$BackgroundTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$BackgroundTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> userId = const Value.absent(),
              Value<Uint8List> data = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) =>
                BackgroundCompanion(userId: userId, data: data, rowid: rowid),
        createCompanionCallback:
            ({
              required String userId,
              required Uint8List data,
              Value<int> rowid = const Value.absent(),
            }) => BackgroundCompanion.insert(
              userId: userId,
              data: data,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );