$$FeatureTableTableManager constructor
$$FeatureTableTableManager(
- _$ACLDatabase db,
- $FeatureTable table
Implementation
$$FeatureTableTableManager(_$ACLDatabase db, $FeatureTable table)
: super(TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$FeatureTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$FeatureTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$FeatureTableAnnotationComposer($db: db, $table: table),
updateCompanionCallback: ({
Value<int> id = const Value.absent(),
Value<DateTime> createdAt = const Value.absent(),
}) =>
FeatureCompanion(
id: id,
createdAt: createdAt,
),
createCompanionCallback: ({
Value<int> id = const Value.absent(),
Value<DateTime> createdAt = const Value.absent(),
}) =>
FeatureCompanion.insert(
id: id,
createdAt: createdAt,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
));