$$KalamActionsTableTableManager constructor

$$KalamActionsTableTableManager(
  1. _$KalamSyncDatabase db,
  2. $KalamActionsTable table
)

Implementation

$$KalamActionsTableTableManager(
  _$KalamSyncDatabase db,
  $KalamActionsTable table,
) : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$KalamActionsTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$KalamActionsTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$KalamActionsTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> id = const Value.absent(),
              Value<String> accountKey = const Value.absent(),
              Value<String> actionKey = const Value.absent(),
              Value<int> version = const Value.absent(),
              Value<String> kind = const Value.absent(),
              Value<String> payloadJson = const Value.absent(),
              Value<String> status = const Value.absent(),
              Value<String?> orderingKey = const Value.absent(),
              Value<String?> rowTableId = const Value.absent(),
              Value<String?> rowKey = const Value.absent(),
              Value<int> queuePosition = const Value.absent(),
              Value<int> attemptCount = const Value.absent(),
              Value<DateTime?> nextAttemptAt = const Value.absent(),
              Value<String?> lastError = const Value.absent(),
              Value<DateTime> createdAt = const Value.absent(),
              Value<DateTime> updatedAt = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => KalamActionsCompanion(
              id: id,
              accountKey: accountKey,
              actionKey: actionKey,
              version: version,
              kind: kind,
              payloadJson: payloadJson,
              status: status,
              orderingKey: orderingKey,
              rowTableId: rowTableId,
              rowKey: rowKey,
              queuePosition: queuePosition,
              attemptCount: attemptCount,
              nextAttemptAt: nextAttemptAt,
              lastError: lastError,
              createdAt: createdAt,
              updatedAt: updatedAt,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String id,
              required String accountKey,
              required String actionKey,
              Value<int> version = const Value.absent(),
              Value<String> kind = const Value.absent(),
              required String payloadJson,
              required String status,
              Value<String?> orderingKey = const Value.absent(),
              Value<String?> rowTableId = const Value.absent(),
              Value<String?> rowKey = const Value.absent(),
              Value<int> queuePosition = const Value.absent(),
              Value<int> attemptCount = const Value.absent(),
              Value<DateTime?> nextAttemptAt = const Value.absent(),
              Value<String?> lastError = const Value.absent(),
              required DateTime createdAt,
              required DateTime updatedAt,
              Value<int> rowid = const Value.absent(),
            }) => KalamActionsCompanion.insert(
              id: id,
              accountKey: accountKey,
              actionKey: actionKey,
              version: version,
              kind: kind,
              payloadJson: payloadJson,
              status: status,
              orderingKey: orderingKey,
              rowTableId: rowTableId,
              rowKey: rowKey,
              queuePosition: queuePosition,
              attemptCount: attemptCount,
              nextAttemptAt: nextAttemptAt,
              lastError: lastError,
              createdAt: createdAt,
              updatedAt: updatedAt,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );