diff --git a/src/Statement.php b/src/Statement.php index a72827c7..f1f2f4bd 100644 --- a/src/Statement.php +++ b/src/Statement.php @@ -56,16 +56,17 @@ public function __construct(Session $session, $yql) /** * @param array $parameters + * @param array $options * @return bool|QueryResult * @throws \YdbPlatform\Ydb\Exception */ - public function execute(array $parameters = []) + public function execute(array $parameters = [], array $options = []) { $q = new Query([ 'yql_text' => $this->yql, ]); - return $this->session->query($q, $this->prepareParameters($parameters)); + return $this->session->query($q, $this->prepareParameters($parameters), $options); } /**