queryRsvps( )


Creates a query to retrieve a list of RSVPs.

The queryRsvps() function builds a query to retrieve a list of RSVPs and returns an RsvpsQueryBuilder object.

The returned object contains the query definition, which is typically used to run the query using the find() function.

You can refine the query by chaining RsvpsQueryBuilder functions onto the query. RsvpsQueryBuilderfunctions enable you to sort, filter, and control the results queryRsvps() returns.

queryRsvps() runs with these RsvpsQueryBuilder defaults, which you can override:

  • limit(50)
  • descending("_createdDate")

The functions that are chained to queryRsvps() are applied in the order they're called. For example, if you apply ascending('status') and then descending('eventId'), the results are sorted first by the status, and then, if there are multiple results with the same status, the items are sorted by event ID.

Note: This method is quite slow. We suggest you using the following filter pairs for the most optimal speed:

  • eventId and status
  • eventId and fullyCheckedIn
  • eventId and memberId
  • eventId and contactId
  • eventId and createdDate
PROPERTYSUPPORTED FILTERS & SORTING
_ideq(),ne(),in(),exists()
eventIdeq(),ne(),in(),exists()
_createdDateeq(),ne(),in(),gt(),ge(),lt(),le(),ascending(),descending()
_updatedDateeq(),ne(),in(),gt(),ge(),lt(),le(),ascending(),descending()
memberIdeq(),ne(),in(),exists()
contactIdeq(),ne(),in(),exists()
statuseq(),ne(),in(),ascending(),descending()
fullyCheckedIneq(),ne(),in(),ascending(),descending()
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Events - all permissions
Read Events - all read permissions
Manage Guest List
Read Event Tickets and Guest List
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
optionsQueryRsvpsOptions
Returns
Return Type:RsvpsQueryBuilder
Did this help?