ReferralUsersQuery

ReferralUsersQuery

# new ReferralUsersQuery(event, offset, limit)

Parameters:
Name Type Description
event string The event to filter the referral users.
offset number Number of items to skip from the list.
limit number Number of items to return.

Methods

# (static) allUsers() → {ReferralUsersQuery}

Creates new query to filter all the users.
Returns:
New ReferralUsersQuery instance.
Type
ReferralUsersQuery

# (static) usersForEvent(event) → {ReferralUsersQuery}

Creates new query to filter users for the specified event.
Parameters:
Name Type Description
event string Event name.
Returns:
New ReferralUsersQuery instance.
Type
ReferralUsersQuery

# (static) withLimit(limit) → {ReferralUsersQuery}

Sets limit.
Parameters:
Name Type Description
limit number Number of items to return.
Returns:
Same instance.
Type
ReferralUsersQuery

# (static) withOffset(offset) → {ReferralUsersQuery}

Sets offset.
Parameters:
Name Type Description
offset number Number of items to skip from the list.
Returns:
Same instance.
Type
ReferralUsersQuery