$$KalamRowStatesTableTableManager constructor

$$KalamRowStatesTableTableManager(
  1. _$KalamSyncDatabase db,
  2. $KalamRowStatesTable table
)

Implementation

$$KalamRowStatesTableTableManager(
  _$KalamSyncDatabase db,
  $KalamRowStatesTable table,
) : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$KalamRowStatesTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$KalamRowStatesTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$KalamRowStatesTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> accountKey = const Value.absent(),
              Value<String> tableId = const Value.absent(),
              Value<String> rowKey = const Value.absent(),
              Value<String> phase = const Value.absent(),
              Value<String?> actionId = const Value.absent(),
              Value<int> attemptCount = const Value.absent(),
              Value<DateTime?> nextRetryAt = const Value.absent(),
              Value<String?> errorCode = const Value.absent(),
              Value<String?> errorMessage = const Value.absent(),
              Value<String?> lastServerSeq = const Value.absent(),
              Value<String?> pendingValuesJson = const Value.absent(),
              Value<bool> tombstone = const Value.absent(),
              Value<DateTime> updatedAt = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => KalamRowStatesCompanion(
              accountKey: accountKey,
              tableId: tableId,
              rowKey: rowKey,
              phase: phase,
              actionId: actionId,
              attemptCount: attemptCount,
              nextRetryAt: nextRetryAt,
              errorCode: errorCode,
              errorMessage: errorMessage,
              lastServerSeq: lastServerSeq,
              pendingValuesJson: pendingValuesJson,
              tombstone: tombstone,
              updatedAt: updatedAt,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String accountKey,
              required String tableId,
              required String rowKey,
              required String phase,
              Value<String?> actionId = const Value.absent(),
              Value<int> attemptCount = const Value.absent(),
              Value<DateTime?> nextRetryAt = const Value.absent(),
              Value<String?> errorCode = const Value.absent(),
              Value<String?> errorMessage = const Value.absent(),
              Value<String?> lastServerSeq = const Value.absent(),
              Value<String?> pendingValuesJson = const Value.absent(),
              Value<bool> tombstone = const Value.absent(),
              required DateTime updatedAt,
              Value<int> rowid = const Value.absent(),
            }) => KalamRowStatesCompanion.insert(
              accountKey: accountKey,
              tableId: tableId,
              rowKey: rowKey,
              phase: phase,
              actionId: actionId,
              attemptCount: attemptCount,
              nextRetryAt: nextRetryAt,
              errorCode: errorCode,
              errorMessage: errorMessage,
              lastServerSeq: lastServerSeq,
              pendingValuesJson: pendingValuesJson,
              tombstone: tombstone,
              updatedAt: updatedAt,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );