I am using rockset
node.js module to write select queries.
const response = await client.queries.query({
sql: {
query: `select _id, updatedAt FROM ${workspace}.${collection} ${condition}`,
},
max_initial_results: 10000,
pagination: {
cursor: 'YnBjw==',
docs: 20,
}
});
However, I get the following error:
Error selecting documents: {
message: 'Invalid key "pagination" in request.
What’s the correct way to specify pagination ?