/** * Get number of affected rows in previous MySQL operation * * @return int * the number of affected rows on success, and -1 if the last query failed. */ public function affected_rows() { return $this->dbObj->affected_rows(); }