$$DownloadsTableTableManager constructor

$$DownloadsTableTableManager(
  1. _$CommonDatabase db,
  2. $DownloadsTable table
)

Implementation

$$DownloadsTableTableManager(_$CommonDatabase db, $DownloadsTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$DownloadsTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$DownloadsTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$DownloadsTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> checksum = const Value.absent(),
              Value<String> path = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => DownloadsCompanion(
              checksum: checksum,
              path: path,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String checksum,
              required String path,
              Value<int> rowid = const Value.absent(),
            }) => DownloadsCompanion.insert(
              checksum: checksum,
              path: path,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );