Returns the query cursors.
cursors
returns the query's next
and prev
cursors.
import { accounts } from "@wix/loyalty";
export async function myQueryFunction() {
const results = await accounts.queryLoyaltyAccounts().find();
const cursors = results.cursors;
}