listQuery is limited to 10 by default
See original GitHub issueDescribe the bug
The default limit on the list{Model} query is 10, which means that as the table grows as more items are added by different owners - then people lose their items as not returned.
#set( $limit = $util.defaultIfNull($context.args.limit, 10) )
{
"version": "2017-02-28",
"operation": "Scan",
"filter": #if( $context.args.filter )
$util.transform.toDynamoDBFilterExpression($ctx.args.filter)
#else
null
#end,
"limit": $limit,
"nextToken": #if( $context.args.nextToken )
"$context.args.nextToken"
#else
null
#end
}
Is there a better way to queryItems by an owner without setting limit to a really high number? If not then this should be documented…
Issue Analytics
- State:
- Created 5 years ago
- Comments:6
Top Results From Across the Web
AWS Appsync - setting limit on rows returned from a list query
I want to increase the number of rows returned greater than the default 10. Using the limit parameter does not seem to work....
Read more >Data live in DynamoDB however AppSync list query doesn't ...
The default limit is 10 to be as conservative as possible with billed operations. In case you have more than 10 notes from...
Read more >AWS AppSync query returns wrong item number with ...
When you use a list query with AWS AppSync and Amazon DynamoDB, ... If no limit is applied, then DynamoDB uses the default...
Read more >Change settings for the Search Results Web Part
Don't restrict by any tag: Search results will not be limited based on tags (default). Restrict by navigation term of current page: Search...
Read more >3271583 - Item Title & Description are blank in the System ...
Reproducing the Issue · Navigate to LMS Admin system > · Go to Learning Activities > Items > · Search for the affected...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@MathiasBerwig I don’t believe you referenced the correct issue.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels or Discussions for those types of questions.