Skip to content

Commit

Permalink
underql_get_affected_rows was added to UQLChangeQuery.php and UQLEnti…
Browse files Browse the repository at this point in the history
…ty.php files
  • Loading branch information
Abdullah Eid Almehmadi committed Jan 25, 2013
1 parent 2fe2aff commit f5fe6ed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UQLChangeQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 5 additions & 0 deletions UQLEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f5fe6ed

Please sign in to comment.