Skip to content

Commit 9eaf38c

Browse files
authored
Update README.md
1 parent 81c0cea commit 9eaf38c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ $ydb = new Ydb($config);
435435
// obtaining the Table service
436436
$table = $ydb->table();
437437

438-
$result = $table->retrySession(function(Session $session){
438+
$result = $table->retryTransaction(function(Session $session){
439439
// making a query
440440
return $session->query('select * from `users` limit 10;');
441441
}, true);
@@ -456,7 +456,7 @@ Normally, a regular query through the `query()` method is sufficient, but in exc
456456
```php
457457
<?php
458458

459-
$result = $table->retrySession(function(Session $session){
459+
$result = $table->retryTransaction(function(Session $session){
460460

461461
// creating a new query builder instance
462462
$query = $session->newQuery('select * from `users` limit 10;');

0 commit comments

Comments
 (0)