$$DraftsTableTableManager constructor
$$DraftsTableTableManager( - _$ScopedDatabase db,
- $DraftsTable table
)
Implementation
$$DraftsTableTableManager(_$ScopedDatabase db, $DraftsTable table)
: super(
TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$DraftsTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$DraftsTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$DraftsTableAnnotationComposer($db: db, $table: table),
updateCompanionCallback:
({
Value<String> chatId = const Value.absent(),
Value<String> data = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => DraftsCompanion(chatId: chatId, data: data, rowid: rowid),
createCompanionCallback:
({
required String chatId,
required String data,
Value<int> rowid = const Value.absent(),
}) => DraftsCompanion.insert(
chatId: chatId,
data: data,
rowid: rowid,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
),
);