$$UsersTableTableManager constructor

$$UsersTableTableManager(
  1. _$ScopedDatabase db,
  2. $UsersTable table
)

Implementation

$$UsersTableTableManager(_$ScopedDatabase db, $UsersTable table)
    : super(TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$UsersTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$UsersTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$UsersTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback: ({
          Value<String> id = const Value.absent(),
          Value<String> num = const Value.absent(),
          Value<String?> name = const Value.absent(),
          Value<String?> bio = const Value.absent(),
          Value<String?> avatar = const Value.absent(),
          Value<String?> callCover = const Value.absent(),
          Value<int> mutualContactsCount = const Value.absent(),
          Value<bool> online = const Value.absent(),
          Value<int?> presenceIndex = const Value.absent(),
          Value<String?> status = const Value.absent(),
          Value<bool> isDeleted = const Value.absent(),
          Value<String?> dialog = const Value.absent(),
          Value<String?> isBlocked = const Value.absent(),
          Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
          Value<String> contacts = const Value.absent(),
          Value<String> ver = const Value.absent(),
          Value<String> blockedVer = const Value.absent(),
          Value<String?> welcomeMessage = const Value.absent(),
          Value<int> rowid = const Value.absent(),
        }) =>
            UsersCompanion(
          id: id,
          num: num,
          name: name,
          bio: bio,
          avatar: avatar,
          callCover: callCover,
          mutualContactsCount: mutualContactsCount,
          online: online,
          presenceIndex: presenceIndex,
          status: status,
          isDeleted: isDeleted,
          dialog: dialog,
          isBlocked: isBlocked,
          lastSeenAt: lastSeenAt,
          contacts: contacts,
          ver: ver,
          blockedVer: blockedVer,
          welcomeMessage: welcomeMessage,
          rowid: rowid,
        ),
        createCompanionCallback: ({
          required String id,
          required String num,
          Value<String?> name = const Value.absent(),
          Value<String?> bio = const Value.absent(),
          Value<String?> avatar = const Value.absent(),
          Value<String?> callCover = const Value.absent(),
          Value<int> mutualContactsCount = const Value.absent(),
          Value<bool> online = const Value.absent(),
          Value<int?> presenceIndex = const Value.absent(),
          Value<String?> status = const Value.absent(),
          Value<bool> isDeleted = const Value.absent(),
          Value<String?> dialog = const Value.absent(),
          Value<String?> isBlocked = const Value.absent(),
          Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
          Value<String> contacts = const Value.absent(),
          required String ver,
          required String blockedVer,
          Value<String?> welcomeMessage = const Value.absent(),
          Value<int> rowid = const Value.absent(),
        }) =>
            UsersCompanion.insert(
          id: id,
          num: num,
          name: name,
          bio: bio,
          avatar: avatar,
          callCover: callCover,
          mutualContactsCount: mutualContactsCount,
          online: online,
          presenceIndex: presenceIndex,
          status: status,
          isDeleted: isDeleted,
          dialog: dialog,
          isBlocked: isBlocked,
          lastSeenAt: lastSeenAt,
          contacts: contacts,
          ver: ver,
          blockedVer: blockedVer,
          welcomeMessage: welcomeMessage,
          rowid: rowid,
        ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ));