$$ChatItemsTableTableManager constructor

$$ChatItemsTableTableManager(
  1. _$ScopedDatabase db,
  2. $ChatItemsTable table
)

Implementation

$$ChatItemsTableTableManager(_$ScopedDatabase db, $ChatItemsTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$ChatItemsTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$ChatItemsTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$ChatItemsTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> id = const Value.absent(),
              Value<String> chatId = const Value.absent(),
              Value<String> authorId = const Value.absent(),
              Value<PreciseDateTime> at = const Value.absent(),
              Value<SendingStatus> status = const Value.absent(),
              Value<String> data = const Value.absent(),
              Value<String?> cursor = const Value.absent(),
              Value<String> ver = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => ChatItemsCompanion(
              id: id,
              chatId: chatId,
              authorId: authorId,
              at: at,
              status: status,
              data: data,
              cursor: cursor,
              ver: ver,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String id,
              required String chatId,
              required String authorId,
              required PreciseDateTime at,
              required SendingStatus status,
              required String data,
              Value<String?> cursor = const Value.absent(),
              required String ver,
              Value<int> rowid = const Value.absent(),
            }) => ChatItemsCompanion.insert(
              id: id,
              chatId: chatId,
              authorId: authorId,
              at: at,
              status: status,
              data: data,
              cursor: cursor,
              ver: ver,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );