Implementing Pagination with RDS Resolver Mapping Template

0

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'" ] }

https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference-rds.html

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" : { ... } }

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南