Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Params #1711

Merged
merged 1 commit into from
Mar 26, 2025
Merged

Params #1711

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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`
4 changes: 4 additions & 0 deletions params_builder.go
Original file line number Diff line number Diff line change
@@ -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{}