public function exec($sql)
    {
        $this->writeToLog("Exec: " . $sql);
        $result = parent::exec($sql);
        return $result;
    }
public function exec($sql)
    {
        $this->writeToLog("Exec: " . $sql);
        $result = parent::exec($sql);
        return $result;
    }
public function exec ( $ sql ) { $ this -> writeToLog ( "Exec: " . $ sql ) ; $ result = parent :: exec ( $ sql ) ; return $ result ; }
Used to issue statements which return no results but rather the number of rows affected

@param string $sql
@return integer The number of rows affected
Used to issue statements which return no results but rather the number of rows affected