diff --git a/CHANGELOG.md b/CHANGELOG.md index e5b4372b9..5234c125d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +* Added public type alias `ydb.Params` to `internal/params.Parameters` for external usage + ## v3.104.6 * Refactored `table.TransactionControl` and `query.TransactionControl` for use single implementation in `internal/tx` * Changed `ydb.WithTxControl` context modifier for allow both `table.TransactionControl` and `query.TransactionControl` diff --git a/params_builder.go b/params_builder.go index 168f73623..cf94ab92a 100644 --- a/params_builder.go +++ b/params_builder.go @@ -2,6 +2,10 @@ package ydb import "github.com/ydb-platform/ydb-go-sdk/v3/internal/params" +// Params is an interface of parameters +// which returns from ydb.ParamsBuilder().Build() +type Params = params.Parameters + // ParamsBuilder used for create query arguments instead of tons options. func ParamsBuilder() params.Builder { return params.Builder{}