$$BlocklistTableTableManager constructor

$$BlocklistTableTableManager(
  1. _$ScopedDatabase db,
  2. $BlocklistTable table
)

Implementation

$$BlocklistTableTableManager(_$ScopedDatabase db, $BlocklistTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$BlocklistTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$BlocklistTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$BlocklistTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> userId = const Value.absent(),
              Value<String?> reason = const Value.absent(),
              Value<PreciseDateTime> at = const Value.absent(),
              Value<String?> cursor = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => BlocklistCompanion(
              userId: userId,
              reason: reason,
              at: at,
              cursor: cursor,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String userId,
              Value<String?> reason = const Value.absent(),
              required PreciseDateTime at,
              Value<String?> cursor = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => BlocklistCompanion.insert(
              userId: userId,
              reason: reason,
              at: at,
              cursor: cursor,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );