public function queryToOne($relation, EncodingParametersInterface $parameters)
    {
        return $this->queryOne(
            $relation->newQuery(),
            $this->getQueryParameters($parameters)
        );
    }