$$PendingOpsTableTableManager constructor
$$PendingOpsTableTableManager(
- _$LocalDriftDatabase db,
- $PendingOpsTable table
Implementation
$$PendingOpsTableTableManager(_$LocalDriftDatabase db, $PendingOpsTable table)
: super(
TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$PendingOpsTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$PendingOpsTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$PendingOpsTableAnnotationComposer($db: db, $table: table),
updateCompanionCallback:
({
Value<String> opId = const Value.absent(),
Value<String> scopeName = const Value.absent(),
Value<String> scopeKeys = const Value.absent(),
Value<String> type = const Value.absent(),
Value<String> id = const Value.absent(),
Value<String?> payload = const Value.absent(),
Value<String> updatedAt = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => PendingOpsCompanion(
opId: opId,
scopeName: scopeName,
scopeKeys: scopeKeys,
type: type,
id: id,
payload: payload,
updatedAt: updatedAt,
rowid: rowid,
),
createCompanionCallback:
({
required String opId,
required String scopeName,
required String scopeKeys,
required String type,
required String id,
Value<String?> payload = const Value.absent(),
required String updatedAt,
Value<int> rowid = const Value.absent(),
}) => PendingOpsCompanion.insert(
opId: opId,
scopeName: scopeName,
scopeKeys: scopeKeys,
type: type,
id: id,
payload: payload,
updatedAt: updatedAt,
rowid: rowid,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
),
);