$$ChatMembersTableTableManager constructor

$$ChatMembersTableTableManager(
  1. _$ScopedDatabase db,
  2. $ChatMembersTable table
)

Implementation

$$ChatMembersTableTableManager(_$ScopedDatabase db, $ChatMembersTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$ChatMembersTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$ChatMembersTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$ChatMembersTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> userId = const Value.absent(),
              Value<String> chatId = const Value.absent(),
              Value<PreciseDateTime> joinedAt = const Value.absent(),
              Value<String?> cursor = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => ChatMembersCompanion(
              userId: userId,
              chatId: chatId,
              joinedAt: joinedAt,
              cursor: cursor,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String userId,
              required String chatId,
              required PreciseDateTime joinedAt,
              Value<String?> cursor = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => ChatMembersCompanion.insert(
              userId: userId,
              chatId: chatId,
              joinedAt: joinedAt,
              cursor: cursor,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );