src/DbSql/AbstractSqlQuerySerialyser.php
public function prefixQuery() {
        
        $options = $this->getOptions();
        
        if ($this->validateOptions($options)) {
            $this->queryPrefix = $this->getDriverEscaper()->dbCommand('SELECT') . ' ';
            $fields = $this->setFieldList($options);
            $this->queryPrefix .= $fields . ' ' . $this->getDriverEscaper()->dbCommand('FROM') . ' ' . $this->getDriverEscaper()->reserved($options['table']) . ' ' . $this->getDriverEscaper()->dbCommand('WHERE') . ' ';
        }
        
        return $this;
    }
public function prefixQuery() {
        
        $options = $this->getOptions();
        
        if ($this->validateOptions($options)) {
            $this->queryPrefix = $this->getDriverEscaper()->dbCommand('SELECT') . ' ';
            $fields = $this->setFieldList($options);
            $this->queryPrefix .= $fields . ' ' . $this->getDriverEscaper()->dbCommand('FROM') . ' ' . $this->getDriverEscaper()->reserved($options['table']) . ' ' . $this->getDriverEscaper()->dbCommand('WHERE') . ' ';
        }
        
        return $this;
    }
public function prefixQuery ( ) { $ options = $ this -> getOptions ( ) ; if ( $ this -> validateOptions ( $ options ) ) { $ this -> queryPrefix = $ this -> getDriverEscaper ( ) -> dbCommand ( 'SELECT' ) . ' ' ; $ fields = $ this -> setFieldList ( $ options ) ; $ this -> queryPrefix .= $ fields . ' ' . $ this -> getDriverEscaper ( ) -> dbCommand ( 'FROM' ) . ' ' . $ this -> getDriverEscaper ( ) -> reserved ( $ options [ 'table' ] ) . ' ' . $ this -> getDriverEscaper ( ) -> dbCommand ( 'WHERE' ) . ' ' ; } return $ this ; }
create base query for SQL single table query
@return $this
create base query for SQL single table query