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

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ