$$ChatsTableTableManager constructor

$$ChatsTableTableManager(
  1. _$ScopedDatabase db,
  2. $ChatsTable table
)

Implementation

$$ChatsTableTableManager(_$ScopedDatabase db, $ChatsTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$ChatsTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$ChatsTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$ChatsTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          Value<String> id = const Value.absent(),
          Value<String?> avatar = const Value.absent(),
          Value<String?> name = const Value.absent(),
          Value<String> members = const Value.absent(),
          Value<int> kindIndex = const Value.absent(),
          Value<bool> isHidden = const Value.absent(),
          Value<String?> muted = const Value.absent(),
          Value<String?> directLink = const Value.absent(),
          Value<PreciseDateTime> createdAt = const Value.absent(),
          Value<PreciseDateTime> updatedAt = const Value.absent(),
          Value<String> lastReads = const Value.absent(),
          Value<PreciseDateTime?> lastDelivery = const Value.absent(),
          Value<String?> firstItem = const Value.absent(),
          Value<String?> lastItem = const Value.absent(),
          Value<String?> lastReadItem = const Value.absent(),
          Value<int> unreadCount = const Value.absent(),
          Value<int> totalCount = const Value.absent(),
          Value<String?> ongoingCall = const Value.absent(),
          Value<double?> favoritePosition = const Value.absent(),
          Value<int> membersCount = const Value.absent(),
          Value<String> ver = const Value.absent(),
          Value<String?> lastItemCursor = const Value.absent(),
          Value<String?> lastReadItemCursor = const Value.absent(),
          Value<String?> recentCursor = const Value.absent(),
          Value<String?> favoriteCursor = const Value.absent(),
          Value<int> rowid = const Value.absent(),
        }) =>
            ChatsCompanion(
          id: id,
          avatar: avatar,
          name: name,
          members: members,
          kindIndex: kindIndex,
          isHidden: isHidden,
          muted: muted,
          directLink: directLink,
          createdAt: createdAt,
          updatedAt: updatedAt,
          lastReads: lastReads,
          lastDelivery: lastDelivery,
          firstItem: firstItem,
          lastItem: lastItem,
          lastReadItem: lastReadItem,
          unreadCount: unreadCount,
          totalCount: totalCount,
          ongoingCall: ongoingCall,
          favoritePosition: favoritePosition,
          membersCount: membersCount,
          ver: ver,
          lastItemCursor: lastItemCursor,
          lastReadItemCursor: lastReadItemCursor,
          recentCursor: recentCursor,
          favoriteCursor: favoriteCursor,
          rowid: rowid,
        ),
        createCompanionCallback: ({
          required String id,
          Value<String?> avatar = const Value.absent(),
          Value<String?> name = const Value.absent(),
          Value<String> members = const Value.absent(),
          Value<int> kindIndex = const Value.absent(),
          Value<bool> isHidden = const Value.absent(),
          Value<String?> muted = const Value.absent(),
          Value<String?> directLink = const Value.absent(),
          Value<PreciseDateTime> createdAt = const Value.absent(),
          Value<PreciseDateTime> updatedAt = const Value.absent(),
          Value<String> lastReads = const Value.absent(),
          Value<PreciseDateTime?> lastDelivery = const Value.absent(),
          Value<String?> firstItem = const Value.absent(),
          Value<String?> lastItem = const Value.absent(),
          Value<String?> lastReadItem = const Value.absent(),
          Value<int> unreadCount = const Value.absent(),
          Value<int> totalCount = const Value.absent(),
          Value<String?> ongoingCall = const Value.absent(),
          Value<double?> favoritePosition = const Value.absent(),
          Value<int> membersCount = const Value.absent(),
          required String ver,
          Value<String?> lastItemCursor = const Value.absent(),
          Value<String?> lastReadItemCursor = const Value.absent(),
          Value<String?> recentCursor = const Value.absent(),
          Value<String?> favoriteCursor = const Value.absent(),
          Value<int> rowid = const Value.absent(),
        }) =>
            ChatsCompanion.insert(
          id: id,
          avatar: avatar,
          name: name,
          members: members,
          kindIndex: kindIndex,
          isHidden: isHidden,
          muted: muted,
          directLink: directLink,
          createdAt: createdAt,
          updatedAt: updatedAt,
          lastReads: lastReads,
          lastDelivery: lastDelivery,
          firstItem: firstItem,
          lastItem: lastItem,
          lastReadItem: lastReadItem,
          unreadCount: unreadCount,
          totalCount: totalCount,
          ongoingCall: ongoingCall,
          favoritePosition: favoritePosition,
          membersCount: membersCount,
          ver: ver,
          lastItemCursor: lastItemCursor,
          lastReadItemCursor: lastReadItemCursor,
          recentCursor: recentCursor,
          favoriteCursor: favoriteCursor,
          rowid: rowid,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));