$$CurrencyTableTableManager constructor
$$CurrencyTableTableManager(
- _$SharedDatabase db,
- $CurrencyTable table
Implementation
$$CurrencyTableTableManager(_$SharedDatabase db, $CurrencyTable table)
: super(
TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$CurrencyTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$CurrencyTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$CurrencyTableAnnotationComposer($db: db, $table: table),
updateCompanionCallback:
({
Value<String> id = const Value.absent(),
Value<String> symbol = const Value.absent(),
Value<String> name = const Value.absent(),
Value<String?> description = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => CurrencyCompanion(
id: id,
symbol: symbol,
name: name,
description: description,
rowid: rowid,
),
createCompanionCallback:
({
required String id,
required String symbol,
required String name,
Value<String?> description = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => CurrencyCompanion.insert(
id: id,
symbol: symbol,
name: name,
description: description,
rowid: rowid,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
),
);