$$NotificationAuditTableTableManager constructor
$$NotificationAuditTableTableManager(
- _$ACLDatabase db,
- $NotificationAuditTable table
Implementation
$$NotificationAuditTableTableManager(
_$ACLDatabase db, $NotificationAuditTable table)
: super(TableManagerState(
db: db,
table: table,
createFilteringComposer: () =>
$$NotificationAuditTableFilterComposer($db: db, $table: table),
createOrderingComposer: () =>
$$NotificationAuditTableOrderingComposer($db: db, $table: table),
createComputedFieldComposer: () =>
$$NotificationAuditTableAnnotationComposer(
$db: db, $table: table),
updateCompanionCallback: ({
Value<int> id = const Value.absent(),
Value<DateTime> happenedAt = const Value.absent(),
Value<String> checkSum = const Value.absent(),
Value<String> summary = const Value.absent(),
Value<String> packageName = const Value.absent(),
Value<NotificationAuditType> type = const Value.absent(),
Value<String?> title = const Value.absent(),
Value<String?> key = const Value.absent(),
}) =>
NotificationAuditCompanion(
id: id,
happenedAt: happenedAt,
checkSum: checkSum,
summary: summary,
packageName: packageName,
type: type,
title: title,
key: key,
),
createCompanionCallback: ({
Value<int> id = const Value.absent(),
Value<DateTime> happenedAt = const Value.absent(),
required String checkSum,
required String summary,
required String packageName,
required NotificationAuditType type,
Value<String?> title = const Value.absent(),
Value<String?> key = const Value.absent(),
}) =>
NotificationAuditCompanion.insert(
id: id,
happenedAt: happenedAt,
checkSum: checkSum,
summary: summary,
packageName: packageName,
type: type,
title: title,
key: key,
),
withReferenceMapper: (p0) => p0
.map((e) => (e.readTable(table), BaseReferences(db, table, e)))
.toList(),
prefetchHooksCallback: null,
));