Implementing Pagination with RDS Resolver Mapping Template


Hi Team,

As part of our project, we have to retrieve data from the database to the front end using graphql. How do we implement pagination with RDS resolver mapping. I only see select query option like this:

{ "version": "2018-05-29", "statements": [ "select title, isbn13 from BOOKS where author = 'Mark Twain'" ] }

Is it possible to implement "SCAN" option which is available in Dynamodb resolver mapping template ?: { "version" : "2017-02-28", "operation" : "Scan", "index" : "fooIndex", "limit" : 10, "consistentRead" : false, "nextToken" : "aPaginationToken", "totalSegments" : 10, "segment" : 1, "filter" : { ... } }

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions