Introduction

The EventsQueryBuilder functions enable you to run, sort, filter, and control which results a query returns.

Typically, you build a query using any of the event query functions, refine the query by chaining EventsQueryBuilder functions, and then execute the query by chaining the find() function.

For example, the following code returns the first 5 upcoming Wix events created by a given event manager, including scheduled events and events that have started. The events are listed in ascending order by the event's start date.

Copy
1
Was this helpful?
Yes
No