From a8baaf2650b6a0b84b62a3380dcf1cd8471ff9fa Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Thu, 30 May 2019 22:33:22 -0700 Subject: [PATCH] Updated readme [skip ci] --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 96ca1e5..542522d 100644 --- a/README.md +++ b/README.md @@ -1490,6 +1490,8 @@ while products.any? end ``` +You should call `scroll` on each new set of results, not the original result. + On the master branch, you can also do: ```ruby @@ -1498,8 +1500,6 @@ Product.search("*", scroll: "1m").scroll do |batch| end ``` -You should call `scroll` on each new set of results, not the original result. - ## Nested Data To query nested data, use dot notation. -- libgit2 0.21.0