@@ -11,12 +11,12 @@ import (
1111 "github.com/ydb-platform/ydb-go-sdk/v3/internal/closer"
1212 "github.com/ydb-platform/ydb-go-sdk/v3/internal/params"
1313 "github.com/ydb-platform/ydb-go-sdk/v3/internal/tx"
14- "github.com/ydb-platform/ydb-go-sdk/v3/internal/types"
1514 "github.com/ydb-platform/ydb-go-sdk/v3/internal/value"
1615 "github.com/ydb-platform/ydb-go-sdk/v3/retry"
1716 "github.com/ydb-platform/ydb-go-sdk/v3/retry/budget"
1817 "github.com/ydb-platform/ydb-go-sdk/v3/table/options"
1918 "github.com/ydb-platform/ydb-go-sdk/v3/table/result"
19+ "github.com/ydb-platform/ydb-go-sdk/v3/table/types"
2020 "github.com/ydb-platform/ydb-go-sdk/v3/trace"
2121)
2222
@@ -79,7 +79,7 @@ type Client interface {
7979
8080 // ReadRows reads a batch of rows non-transactionally.
8181 ReadRows (
82- ctx context.Context , path string , keys value .Value ,
82+ ctx context.Context , path string , keys types .Value ,
8383 readRowOpts []options.ReadRowsOption , retryOptions ... Option ,
8484 ) (_ result.Result , err error )
8585}
@@ -163,12 +163,12 @@ type Session interface {
163163 ) (_ result.StreamResult , err error )
164164
165165 // Deprecated: use Client instance instead.
166- BulkUpsert (ctx context.Context , table string , rows value .Value ,
166+ BulkUpsert (ctx context.Context , table string , rows types .Value ,
167167 opts ... options.BulkUpsertOption ,
168168 ) (err error )
169169
170170 // Deprecated: use Client instance instead.
171- ReadRows (ctx context.Context , path string , keys value .Value ,
171+ ReadRows (ctx context.Context , path string , keys types .Value ,
172172 opts ... options.ReadRowsOption ,
173173 ) (_ result.Result , err error )
174174
@@ -450,7 +450,7 @@ func NewQueryParameters(opts ...ParameterOption) *QueryParameters {
450450 return & qp
451451}
452452
453- func ValueParam (name string , v value .Value ) ParameterOption {
453+ func ValueParam (name string , v types .Value ) ParameterOption {
454454 switch len (name ) {
455455 case 0 :
456456 panic ("empty name" )
@@ -558,7 +558,7 @@ type BulkUpsertData interface {
558558}
559559
560560type bulkUpsertRows struct {
561- rows value .Value
561+ rows types .Value
562562}
563563
564564func (data bulkUpsertRows ) ToYDB (a * allocator.Allocator , tableName string ) (* Ydb_Table.BulkUpsertRequest , error ) {
@@ -568,7 +568,7 @@ func (data bulkUpsertRows) ToYDB(a *allocator.Allocator, tableName string) (*Ydb
568568 }, nil
569569}
570570
571- func BulkUpsertDataRows (rows value .Value ) bulkUpsertRows {
571+ func BulkUpsertDataRows (rows types .Value ) bulkUpsertRows {
572572 return bulkUpsertRows {
573573 rows : rows ,
574574 }
0 commit comments