$$AppUsageAuditTableTableManager constructor

$$AppUsageAuditTableTableManager(
  1. _$ACLDatabase db,
  2. $AppUsageAuditTable table
)

Implementation

$$AppUsageAuditTableTableManager(_$ACLDatabase db, $AppUsageAuditTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$AppUsageAuditTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$AppUsageAuditTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$AppUsageAuditTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          Value<int> id = const Value.absent(),
          Value<DateTime> createdAt = const Value.absent(),
          Value<String> date = const Value.absent(),
          Value<String> packageName = const Value.absent(),
          Value<int> totalTimeVisible = const Value.absent(),
          Value<int> totalTimeInForeground = const Value.absent(),
          Value<int> totalTimeForegroundServiceUsed = const Value.absent(),
        }) =>
            AppUsageAuditCompanion(
          id: id,
          createdAt: createdAt,
          date: date,
          packageName: packageName,
          totalTimeVisible: totalTimeVisible,
          totalTimeInForeground: totalTimeInForeground,
          totalTimeForegroundServiceUsed: totalTimeForegroundServiceUsed,
        ),
        createCompanionCallback: ({
          Value<int> id = const Value.absent(),
          Value<DateTime> createdAt = const Value.absent(),
          required String date,
          required String packageName,
          Value<int> totalTimeVisible = const Value.absent(),
          Value<int> totalTimeInForeground = const Value.absent(),
          Value<int> totalTimeForegroundServiceUsed = const Value.absent(),
        }) =>
            AppUsageAuditCompanion.insert(
          id: id,
          createdAt: createdAt,
          date: date,
          packageName: packageName,
          totalTimeVisible: totalTimeVisible,
          totalTimeInForeground: totalTimeInForeground,
          totalTimeForegroundServiceUsed: totalTimeForegroundServiceUsed,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));