public function execWithAffectedRowCount($query, &$affectedRowCount = null)
    {
        $done = $this->exec($query);
        if ($done) {
            $affectedRowCount = $this->changes();
        }
        return $done;
    }
public function execWithAffectedRowCount($query, &$affectedRowCount = null)
    {
        $done = $this->exec($query);
        if ($done) {
            $affectedRowCount = $this->changes();
        }
        return $done;
    }
public function execWithAffectedRowCount ( $ query , & $ affectedRowCount = null ) { $ done = $ this -> exec ( $ query ) ; if ( $ done ) { $ affectedRowCount = $ this -> changes ( ) ; } return $ done ; }
Run `exec` and append the affected row count
@param $query
@param null $affectedRowCount
@return bool
Run exec and append the affected row count