Skip to content

Commit

Permalink
more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
guregu committed May 18, 2024
1 parent 65c5fe9 commit acd9348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions query.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ func (q *Query) SearchLimit(limit int64) *Query {
}

// RequestLimit specifies the maximum amount of requests to make against DynamoDB's API.
// A limit of zero or less means unlimited requests.
func (q *Query) RequestLimit(limit int) *Query {
q.reqLimit = limit
return q
Expand Down
1 change: 1 addition & 0 deletions scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func (s *Scan) SearchLimit(limit int64) *Scan {
}

// RequestLimit specifies the maximum amount of requests to make against DynamoDB's API.
// A limit of zero or less means unlimited requests.
func (s *Scan) RequestLimit(limit int) *Scan {
s.reqLimit = limit
return s
Expand Down

0 comments on commit acd9348

Please sign in to comment.