Search.../

cursors

Returns the query cursors.

Description

cursors returns the query's next and prev cursors.

Type:

Cursors
NAME
TYPE
DESCRIPTION
next
string

Cursor pointing to next page in the list of results.

prev
string

Cursor pointing to previous page in the list of results.

Was this helpful?

Get the query's cursors

Copy Code
1import { attendance } from 'wix-bookings.v2';
2
3export async function myQueryFunction() {
4 const results = await attendance.queryAttendance().find();
5
6 const cursors = results.cursors;
7}
8