Permalink
Browse files

issue #2 fix

  • Loading branch information...
1 parent 5a4cffe commit 671c40f38b8e37d6fec4e427efb9f3b7647351ae @slava-vishnyakov committed Jun 22, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/DBix.php
View
3 lib/DBix.php
@@ -253,14 +253,17 @@ public function get_sql() {
}
public function last_id() {
+ $this->run();
return $this->db->dbh->lastInsertId();
}
public function affected() {
+ $this->run();
return $this->_affected;
}
public function num_rows() {
+ $this->run();
return $this->_num_rows;
}

0 comments on commit 671c40f

Please sign in to comment.