diff --git a/py2neo/client/bolt.py b/py2neo/client/bolt.py index 8488ea74..362bbf53 100644 --- a/py2neo/client/bolt.py +++ b/py2neo/client/bolt.py @@ -1188,7 +1188,7 @@ def peek(self, limit): i = self._last_taken while i < self._items_len: response = self._items[i] - records.extend(response.peek(limit - len(records))) + records.extend(response.peek_records(limit - len(records))) if len(records) == limit: break i += 1