Search...
cursors
Returns the query cursors.
Description
cursors
returns the query's next
and prev
cursors.
Type:
Cursors
NAME
TYPE
DESCRIPTION
next
string
Cursor string pointing to the next page in the list of results.
prev
string
Cursor pointing to the previous page in the list of results.
Was this helpful?
Get the query's cursors
Copy Code
1import { schedule } from 'wix-events.v2';23export async function myQueryFunction() {4 const results = await schedule.queryScheduleItems().find();56 const cursors = results.cursors;7}8