github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/query/options.go (about) 1 package query 2 3 import "github.com/ydb-platform/ydb-go-sdk/v3/trace" 4 5 type idempotentOption struct{} 6 7 func WithIdempotent() idempotentOption { 8 return idempotentOption{} 9 } 10 11 type traceOption struct { 12 t *trace.Query 13 } 14 15 func WithTrace(t trace.Query) traceOption { 16 return traceOption{t: &t} 17 }