We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tx.Option
options.DoOption
options.DoTxOption
1 parent f91d7ea commit 0e6e864Copy full SHA for 0e6e864
CHANGELOG.md
@@ -1,3 +1,5 @@
1
+* Added public types for `tx.Option`, `options.DoOption` and `options.DoTxOption`
2
+
3
## v3.73.1
4
* Changed `query.DefaultTxControl()` from `query.SerializableReadWrite()` with commit to `query.NoTx()`
5
query/client.go
@@ -77,6 +77,8 @@ type (
77
78
79
}
80
+ DoOption = options.DoOption
81
+ DoTxOption = options.DoTxOption
82
)
83
84
func WithIdempotent() bothDoAndDoTxOption {
query/transaction.go
@@ -43,6 +43,7 @@ type (
43
44
TransactionControl = tx.Control
45
TransactionSettings = tx.Settings
46
+ TransactionOption = tx.Option
47
48
49
// BeginTx returns selector transaction control option
0 commit comments