@karmaniverous/entity-manager-demo
    Preparing search index...

    Function readUser

    • Read user records from the database based on unique userId.

      Parameters

      • userId: string

        User record unique id.

      • keepKeys: true

      Returns Promise<UserRecord[]>

      User record array, empty if not found.

    • Read user records from the database based on unique userId.

      Parameters

      • userId: string

        User record unique id.

      • OptionalkeepKeys: false

      Returns Promise<
          {
              beneficiaryId?: string
              | null;
              created: number;
              firstName?: string | null;
              firstNameCanonical?: string | null;
              lastName?: string | null;
              lastNameCanonical?: string | null;
              phone?: string | null;
              updated: number;
              userId: string;
          }[],
      >

      User record array, empty if not found.