diff --git a/query.go b/query.go index a4593dc..498e65e 100644 --- a/query.go +++ b/query.go @@ -185,10 +185,10 @@ func (q *Query) SearchLimit(limit int64) *Query { } // RequestLimit specifies the maximum amount of requests to make against DynamoDB's API. -func (q *Query) RequestLimit(limit int) *Query { - q.reqLimit = limit - return q -} +// func (q *Query) RequestLimit(limit int) *Query { +// q.reqLimit = limit +// return q +// } // Order specifies the desired result order. // Requires a range key (a.k.a. partition key) to be specified. diff --git a/scan.go b/scan.go index 449e7be..44e3e40 100644 --- a/scan.go +++ b/scan.go @@ -131,10 +131,10 @@ func (s *Scan) SearchLimit(limit int64) *Scan { } // RequestLimit specifies the maximum amount of requests to make against DynamoDB's API. -func (s *Scan) RequestLimit(limit int) *Scan { - s.reqLimit = limit - return s -} +// func (s *Scan) RequestLimit(limit int) *Scan { +// s.reqLimit = limit +// return s +// } // ConsumedCapacity will measure the throughput capacity consumed by this operation and add it to cc. func (s *Scan) ConsumedCapacity(cc *ConsumedCapacity) *Scan {