Skip to content

Commit 5ed33df

Browse files
committed
SQL.md
1 parent cb24f01 commit 5ed33df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SQL.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,7 @@ res, err = db.ExecContext(ydb.WithQueryMode(ctx, ydb.SchemeQueryMode),
197197
Default `YDB`'s transaction control mode is a `SerializableReadWrite`.
198198
Default transaction control mode can be changed outside of interactive transactions by updating the context object:
199199
```go
200-
rows, err := db.QueryContext(
201-
ydb.WithTxControl(ctx, table.OnlineReadOnlyTxControl()),
200+
rows, err := db.QueryContext(ydb.WithTxControl(ctx, table.OnlineReadOnlyTxControl()),
202201
"SELECT series_id, title, release_date FROM `/full/path/of/table/series`;"
203202
)
204203
```

0 commit comments

Comments
 (0)