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