From b002f914c929ea8c6d57b692cf7473ba2bc8384b Mon Sep 17 00:00:00 2001 From: Marcelo Date: Thu, 13 Aug 2020 11:23:51 -0300 Subject: [PATCH] Update Gateway.php Get the batch informations to use [moreResults] => NO_MORE_RESULTS and an count(entityResults) --- src/GDS/Gateway.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/GDS/Gateway.php b/src/GDS/Gateway.php index 3c67ba0..31602b2 100644 --- a/src/GDS/Gateway.php +++ b/src/GDS/Gateway.php @@ -356,6 +356,13 @@ abstract public function gql($str_gql, $arr_params = null); */ abstract public function getEndCursor(); + /** + * Get the batch from the last response + * + * @return mixed + */ + abstract public function getBatch(); + /** * Create a mapper that's right for this Gateway * @@ -371,4 +378,4 @@ abstract protected function createMapper(); */ abstract public function beginTransaction($bol_cross_group = FALSE); -} \ No newline at end of file +}