original_string: public function dsql($class = null)
      {
          $class = $class ?: $this->dsql_class;
          $obj = $this->add($class);
          if (!$obj instanceof DB_dsql) {
              throw $this->exception('Specified class must be descendant of DB_dsql')
                  ->addMoreInfo('class', $class);
          }
  
          return $obj;
      }
code: public function dsql($class = null)
      {
          $class = $class ?: $this->dsql_class;
          $obj = $this->add($class);
          if (!$obj instanceof DB_dsql) {
              throw $this->exception('Specified class must be descendant of DB_dsql')
                  ->addMoreInfo('class', $class);
          }
  
          return $obj;
      }
code_tokens: public function dsql ( $ class = null ) { $ class = $ class ? : $ this -> dsql_class ; $ obj = $ this -> add ( $ class ) ; if ( ! $ obj instanceof DB_dsql ) { throw $ this -> exception ( 'Specified class must be descendant of DB_dsql' ) -> addMoreInfo ( 'class' , $ class ) ; } return $ obj ; }
docstring: Returns Dynamic Query object which would be compatible with current
  database connection. If you are connected to MySQL, DB_dsql_mysql will
  be returned.
  
  @param string $class Override class (e.g. DB_dsql_my)
  
  @return DB_dsql empty dsql object
docstring_tokens: Returns Dynamic Query object which would be compatible with current database connection . If you are connected to MySQL DB_dsql_mysql will be returned .