From 4b811cc25d84ec5cc3d8ebb40542bc2bdcfa91d2 Mon Sep 17 00:00:00 2001 From: gfh31fgh2 Date: Fri, 5 Dec 2025 15:22:35 +0500 Subject: [PATCH] Update Statement.php grpc timeout --- src/Statement.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); } /**