$$MyUsersTableTableManager constructor

$$MyUsersTableTableManager(
  1. _$CommonDatabase db,
  2. $MyUsersTable table
)

Implementation

$$MyUsersTableTableManager(_$CommonDatabase db, $MyUsersTable table)
  : super(
      TableManagerState(
        db: db,
        table: table,
        createFilteringComposer: () =>
            $$MyUsersTableFilterComposer($db: db, $table: table),
        createOrderingComposer: () =>
            $$MyUsersTableOrderingComposer($db: db, $table: table),
        createComputedFieldComposer: () =>
            $$MyUsersTableAnnotationComposer($db: db, $table: table),
        updateCompanionCallback:
            ({
              Value<String> id = const Value.absent(),
              Value<String> num = const Value.absent(),
              Value<String?> login = const Value.absent(),
              Value<String?> name = const Value.absent(),
              Value<String?> bio = const Value.absent(),
              Value<bool> hasPassword = const Value.absent(),
              Value<String> emails = const Value.absent(),
              Value<String> phones = const Value.absent(),
              Value<String?> chatDirectLink = const Value.absent(),
              Value<int> unreadChatsCount = const Value.absent(),
              Value<String?> status = const Value.absent(),
              Value<String?> avatar = const Value.absent(),
              Value<String?> callCover = const Value.absent(),
              Value<int> presenceIndex = const Value.absent(),
              Value<bool> online = const Value.absent(),
              Value<String?> muted = const Value.absent(),
              Value<int?> blocklistCount = const Value.absent(),
              Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
              Value<String> ver = const Value.absent(),
              Value<String?> welcomeMessage = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => MyUsersCompanion(
              id: id,
              num: num,
              login: login,
              name: name,
              bio: bio,
              hasPassword: hasPassword,
              emails: emails,
              phones: phones,
              chatDirectLink: chatDirectLink,
              unreadChatsCount: unreadChatsCount,
              status: status,
              avatar: avatar,
              callCover: callCover,
              presenceIndex: presenceIndex,
              online: online,
              muted: muted,
              blocklistCount: blocklistCount,
              lastSeenAt: lastSeenAt,
              ver: ver,
              welcomeMessage: welcomeMessage,
              rowid: rowid,
            ),
        createCompanionCallback:
            ({
              required String id,
              required String num,
              Value<String?> login = const Value.absent(),
              Value<String?> name = const Value.absent(),
              Value<String?> bio = const Value.absent(),
              Value<bool> hasPassword = const Value.absent(),
              required String emails,
              required String phones,
              Value<String?> chatDirectLink = const Value.absent(),
              Value<int> unreadChatsCount = const Value.absent(),
              Value<String?> status = const Value.absent(),
              Value<String?> avatar = const Value.absent(),
              Value<String?> callCover = const Value.absent(),
              Value<int> presenceIndex = const Value.absent(),
              Value<bool> online = const Value.absent(),
              Value<String?> muted = const Value.absent(),
              Value<int?> blocklistCount = const Value.absent(),
              Value<PreciseDateTime?> lastSeenAt = const Value.absent(),
              required String ver,
              Value<String?> welcomeMessage = const Value.absent(),
              Value<int> rowid = const Value.absent(),
            }) => MyUsersCompanion.insert(
              id: id,
              num: num,
              login: login,
              name: name,
              bio: bio,
              hasPassword: hasPassword,
              emails: emails,
              phones: phones,
              chatDirectLink: chatDirectLink,
              unreadChatsCount: unreadChatsCount,
              status: status,
              avatar: avatar,
              callCover: callCover,
              presenceIndex: presenceIndex,
              online: online,
              muted: muted,
              blocklistCount: blocklistCount,
              lastSeenAt: lastSeenAt,
              ver: ver,
              welcomeMessage: welcomeMessage,
              rowid: rowid,
            ),
        withReferenceMapper: (p0) => p0
            .map((e) => (e.readTable(table), BaseReferences(db, table, e)))
            .toList(),
        prefetchHooksCallback: null,
      ),
    );