original_string: public function exec($q, $args = array())
      {
          if ($q instanceof PDBquery) {
              $args = $q->getArgs();
              $q = $q->getQuery();
          };
          return $this->_prepare($q)->_execute($args) ? $this->_sth->rowCount() : false;
      }
code: public function exec($q, $args = array())
      {
          if ($q instanceof PDBquery) {
              $args = $q->getArgs();
              $q = $q->getQuery();
          };
          return $this->_prepare($q)->_execute($args) ? $this->_sth->rowCount() : false;
      }
code_tokens: public function exec ( $ q , $ args = array ( ) ) { if ( $ q instanceof PDBquery ) { $ args = $ q -> getArgs ( ) ; $ q = $ q -> getQuery ( ) ; } ; return $ this -> _prepare ( $ q ) -> _execute ( $ args ) ? $ this -> _sth -> rowCount ( ) : false ; }
docstring: Execute a result-less statement
  
  Typically INSERT, UPDATE, DELETE.
  
  @param string|object $q    SQL query with '?' placeholders or PDBquery object
  @param array         $args (Optional) List of values corresponding to placeholders
  
  @return mixed Number of affected rows, false on error
docstring_tokens: Execute a result - less statement