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 { posts } from 'wix-blog-backend';23export async function myQueryFunction() {4 const results = await posts.queryPosts().find();56 const cursors = results.cursors;7}8