$$ComponentCategoriesTableTableManager constructor
$$ComponentCategoriesTableTableManager(
- _$CatalogDatabase db,
- $ComponentCategoriesTable table
Implementation
$$ComponentCategoriesTableTableManager(
_$CatalogDatabase db,
$ComponentCategoriesTable table,
) : super(
TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$ComponentCategoriesTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$ComponentCategoriesTableOrderingComposer(
$db: db,
$table: table,
),
createComputedFieldComposer: () =>
$$ComponentCategoriesTableAnnotationComposer(
$db: db,
$table: table,
),
updateCompanionCallback:
({
Value<String> componentId = const Value.absent(),
Value<int> categoryId = const Value.absent(),
Value<int> rowid = const Value.absent(),
}) => ComponentCategoriesCompanion(
componentId: componentId,
categoryId: categoryId,
rowid: rowid,
),
createCompanionCallback:
({
required String componentId,
required int categoryId,
Value<int> rowid = const Value.absent(),
}) => ComponentCategoriesCompanion.insert(
componentId: componentId,
categoryId: categoryId,
rowid: rowid,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
),
);