diff --git a/src/GDS/Store.php b/src/GDS/Store.php index 0c56935..a975066 100644 --- a/src/GDS/Store.php +++ b/src/GDS/Store.php @@ -60,7 +60,14 @@ class Store * @var string|null */ private $str_last_cursor = null; - + + /** + * The last result bacth + * + * @var string|null + */ + public $str_last_batch = null; + /** * Transaction ID * @@ -284,6 +291,7 @@ public function fetchPage($int_page_size, $mix_offset = null) ->withTransaction($this->str_transaction_id) ->gql($this->str_last_query . " LIMIT @intPageSize {$str_offset}", $arr_params); $this->str_last_cursor = $this->obj_gateway->getEndCursor(); + $this->str_last_batch = $this->obj_gateway->getBatch(); return $arr_results; }