New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination with Filtering in DynamoDB Template #19
Comments
Hi, Thanks. |
It worked!! :D:D thanks! |
Hi @sid88in can you let me know how you handled the pagination on the filtered result? |
Hi, have you find a way to get the pagination on the filtered result? @mlshon is there any suggestion to get right pagination on filtered results? |
I am also interested in a solution for this. I would like to be able to filter a pagination result before the limit is taken into consideration |
I see that it works. However, I am looking to use a sort key "created" which contains a timestamp that I would like to sort based on the most recent timestamp created. |
Is that fixed ? |
I am using "version" : "2017-02-28", Still facing this issue. |
@stock1232 @eleva Did you find any solution. |
I find this whole dynamodb / appsync / filtering stuff unworkable. We are really hitting limits with Appsync and Dynamo. Imagine having pagination in the middle of a 5 function pipeline resolver. You would have to run the whole pipeline 5 times :) |
Schema:
Request Mapping Template:
Response Mapping Template:
Query:
I am trying to write a mapping template to paginate tweets with a given filter.
My dynamodb table has simple structure: hash key = handle, sort key = tweet_id
When I don't pass keyword parameter, everything runs fine. But now I added another condition to the mapping template i.e if the keyword is an input then filter tweets by keyword. But I see weird error in the above screenshot. Took reference to add Query Filters from here
Any idea what is happening? Thanks!
The text was updated successfully, but these errors were encountered: