diff --git a/UQLChangeQuery.php b/UQLChangeQuery.php index 2baa012..60e283d 100644 --- a/UQLChangeQuery.php +++ b/UQLChangeQuery.php @@ -227,6 +227,11 @@ public function underql_get_last_inserted_id() { return $this->um_query->underql_get_last_inserted_id(); } + + public function underql_get_affected_rows() { + return $this->um_query->underql_get_affected_rows(); + } + public function __destruct() { $this->um_query = null; $this->um_abstract_entity = null; diff --git a/UQLEntity.php b/UQLEntity.php index 54a8fc4..079245c 100644 --- a/UQLEntity.php +++ b/UQLEntity.php @@ -203,6 +203,11 @@ public function underql_get_last_inserted_id() { return $this->um_change->underql_get_last_inserted_id(); } + + public function underql_get_affected_rows() { + return $this->um_change->underql_get_affected_rows(); + } + public function __destruct() { $this->um_abstract_entity = null;