$$TokensTableTableManager constructor
$$TokensTableTableManager( - _$CommonDatabase db,
- $TokensTable table
)
Implementation
$$TokensTableTableManager(_$CommonDatabase db, $TokensTable table)
: super(TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$TokensTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$TokensTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$TokensTableAnnotationComposer($db: db, $table: table),
updateCompanionCallback: ({
Value<String> userId = const Value.absent(),
Value<String> credentials = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) =>
TokensCompanion(
userId: userId,
credentials: credentials,
rowid: rowid,
),
createCompanionCallback: ({
required String userId,
required String credentials,
Value<int> rowid = const Value.absent(),
}) =>
TokensCompanion.insert(
userId: userId,
credentials: credentials,
rowid: rowid,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
));