Skip to content

Commit 8c481c6

Browse files
committed
* Switched internal type of result ydb.Driver.Query() from *internal/query.Client to query.Client interface
1 parent 8b9ba18 commit 8c481c6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Switched internal type of result `ydb.Driver.Query()` from `*internal/query.Client` to `query.Client` interface
12
* Fixed hangup when try to send batch of messages with size more, then grpc limits from topic writer internals
23

34
## v3.101.2

driver.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"errors"
66
"fmt"
7+
"github.com/ydb-platform/ydb-go-sdk/v3/query"
78
"os"
89
"sync"
910
"sync/atomic"
@@ -228,7 +229,7 @@ func (d *Driver) Table() table.Client {
228229
}
229230

230231
// Query returns query client
231-
func (d *Driver) Query() *internalQuery.Client {
232+
func (d *Driver) Query() query.Client {
232233
return d.query.Must()
233234
}
234235

0 commit comments

Comments
 (0)