$$LocksTableTableManager constructor

$$LocksTableTableManager(
  1. _$CommonDatabase db,
  2. $LocksTable table
)

Implementation

$$LocksTableTableManager(_$CommonDatabase db, $LocksTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$LocksTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$LocksTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$LocksTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> operation = const Value.absent(),
              Value<String> holder = const Value.absent(),
              Value<PreciseDateTime?> lockedAt = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => LocksCompanion(
              operation: operation,
              holder: holder,
              lockedAt: lockedAt,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String operation,
              required String holder,
              Value<PreciseDateTime?> lockedAt = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => LocksCompanion.insert(
              operation: operation,
              holder: holder,
              lockedAt: lockedAt,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );