From acd93481d4f5d0021bf5145465f74582711d7c16 Mon Sep 17 00:00:00 2001 From: Greg Date: Sun, 19 May 2024 04:11:37 +0900 Subject: [PATCH] more docs --- query.go | 1 + scan.go | 1 + 2 files changed, 2 insertions(+) diff --git a/query.go b/query.go index 293b2cd..19f7b4e 100644 --- a/query.go +++ b/query.go @@ -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 diff --git a/scan.go b/scan.go index 4665c03..2facf32 100644 --- a/scan.go +++ b/scan.go @@ -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