$$ChatCredentialsTableTableManager constructor

$$ChatCredentialsTableTableManager(
  1. _$ScopedDatabase db,
  2. $ChatCredentialsTable table
)

Implementation

$$ChatCredentialsTableTableManager(
    _$ScopedDatabase db, $ChatCredentialsTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$ChatCredentialsTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$ChatCredentialsTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$ChatCredentialsTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          Value<String> chatId = const Value.absent(),
          Value<String> credentials = const Value.absent(),
          Value<int> rowid = const Value.absent(),
        }) =>
            ChatCredentialsCompanion(
          chatId: chatId,
          credentials: credentials,
          rowid: rowid,
        ),
        createCompanionCallback: ({
          required String chatId,
          required String credentials,
          Value<int> rowid = const Value.absent(),
        }) =>
            ChatCredentialsCompanion.insert(
          chatId: chatId,
          credentials: credentials,
          rowid: rowid,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));