Doctrine\OrientDB\Binding\HttpBinding::getQueryLocation PHP Méthode

getQueryLocation() protected méthode

Returns the URL for the execution of a query.
protected getQueryLocation ( string $database, string $query, integer $limit = null, string $fetchPlan = null, $language = BindingInterface::LANGUAGE_SQLPLUS ) : string
$database string
$query string
$limit integer
$fetchPlan string
Résultat string
    protected function getQueryLocation($database, $query, $limit = null, $fetchPlan = null, $language = BindingInterface::LANGUAGE_SQLPLUS)
    {
        $arguments = array($language, $query);
        if (isset($limit)) {
            $arguments[] = $limit;
        }
        if (isset($fetchPlan)) {
            $arguments[] = $fetchPlan;
        }
        return $this->getLocation('query', $database, $arguments);
    }