Skip to content

Commit 8393060

Browse files
committed
added experimental warning for newest db.Query().ReadRow() method
1 parent 6e74c8b commit 8393060

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* Added `query.ReadRow` method for execute query and read only one row from result
1+
* Added experimental `query.ReadRow` method for execute query and read only one row from result
22

33
## v3.68.1
44
* Downgraded minimal version of Go to 1.20

query/client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ type Client interface {
3636
// ReadRow is a helper which read only one row from first result set in result
3737
//
3838
// ReadRow returns error if result contains more than one result set or more than one row
39+
//
40+
// Experimental: https://github.com/ydb-platform/ydb-go-sdk/blob/master/VERSIONING.md#experimental
3941
ReadRow(ctx context.Context, query string, opts ...options.ExecuteOption) (Row, error)
4042
}
4143

0 commit comments

Comments
 (0)