public function makeQuery($pattern, $data, $prefix = null)
    {
        Compat::setCurrentOpts($this->paramsSys['compat']);
        $this->forcedConnect();
        if ($prefix === null) {
            $prefix = $this->prefix;
        }
        $templater = $this->createTemplater($pattern, $data, $prefix);
        $templater->parse();
        return $templater->getQuery();
    }
public function makeQuery($pattern, $data, $prefix = null)
    {
        Compat::setCurrentOpts($this->paramsSys['compat']);
        $this->forcedConnect();
        if ($prefix === null) {
            $prefix = $this->prefix;
        }
        $templater = $this->createTemplater($pattern, $data, $prefix);
        $templater->parse();
        return $templater->getQuery();
    }
public function makeQuery ( $ pattern , $ data , $ prefix = null ) { Compat :: setCurrentOpts ( $ this -> paramsSys [ 'compat' ] ) ; $ this -> forcedConnect ( ) ; if ( $ prefix === null ) { $ prefix = $ this -> prefix ; } $ templater = $ this -> createTemplater ( $ pattern , $ data , $ prefix ) ; $ templater -> parse ( ) ; return $ templater -> getQuery ( ) ; }
Creates a query by a pattern and an incoming data

@param string $pattern
a query pattern
@param array $data
an incoming data for the pattern
@param string $prefix
a prefix for tables
@return string
the plain query
@throws \go\DB\Exceptions\Templater
an error of templating system
Creates a query by a pattern and an incoming data