Skip to content

Commit 4b811cc

Browse files
authored
Update Statement.php
grpc timeout
1 parent e479cc7 commit 4b811cc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Statement.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,17 @@ public function __construct(Session $session, $yql)
5656

5757
/**
5858
* @param array $parameters
59+
* @param array $options
5960
* @return bool|QueryResult
6061
* @throws \YdbPlatform\Ydb\Exception
6162
*/
62-
public function execute(array $parameters = [])
63+
public function execute(array $parameters = [], array $options = [])
6364
{
6465
$q = new Query([
6566
'yql_text' => $this->yql,
6667
]);
6768

68-
return $this->session->query($q, $this->prepareParameters($parameters));
69+
return $this->session->query($q, $this->prepareParameters($parameters), $options);
6970
}
7071

7172
/**

0 commit comments

Comments
 (0)