Search for User records in the database.

  • Parameters

    Returns Promise<QueryResult<{
        EntityMap: {
            email: Email;
            user: User;
        };
        HashKey: "hashKey";
        RangeKey: "rangeKey";
        ShardedKeys: NonNullable<"beneficiaryHashKey" | "userHashKey">;
        TranscodedProperties: NonNullable<
            | "email"
            | "created"
            | "userId"
            | "beneficiaryId"
            | "firstNameCanonical"
            | "lastNameCanonical"
            | "phone"
            | "updated">;
        TranscodeMap: DefaultTranscodeMap;
        UnshardedKeys: NonNullable<"firstNameRangeKey" | "lastNameRangeKey">;
    }>>