Database Reference
In-Depth Information
Limit and counts
If you want to limit the number of results returned by the query and scan operations, then
you can specify the limit parameter,which would limit the results to the specified number.
Similar to the way we use limit from a RDBMS, this limit can also be used to do data
sampling.
Like select count queries in a traditional RDBMS, we have something similar to that,
which is also called count. If you set the count parameter to true in the query or scan re-
quest, then instead of returning the actual data set, DynamoDB returns the count of match-
ing items for the given criteria. The data size limit of 1 MB is also applied for query and
scan counts.
Search WWH ::




Custom Search