code: function exec($query)
      {
          $conn = $this->getConn();
          $sql = $conn->quote($query);
          return $conn->exec($sql);
      }
docs: Execute an SQL statement and return the number of affected rows
  @param string $query
  @return int|false