Documentation ¶
Index ¶
- Constants
- func ConnectionString(uri string) (ydb.ConnectParams, error)
- func Connector(opts ...connector.Option) driver.Connector
- func IsOperationError(err error) bool
- func IsOperationErrorAlreadyExistsError(err error) bool
- func IsOperationErrorNotFoundError(err error) bool
- func IsOperationErrorOverloaded(err error) bool
- func IsOperationErrorSchemeError(err error) bool
- func IsOperationErrorUnavailable(err error) bool
- func IsTimeoutError(err error) bool
- func IsTransportError(err error) bool
- func IsTransportErrorCancelled(err error) bool
- func IsTransportErrorResourceExhausted(err error) bool
- func With(opts ...config.Option) connector.Option
- func WithAccessTokenCredentials(accessToken string) connector.Option
- func WithAnonymousCredentials() connector.Option
- func WithConnectionString(connection string) connector.Option
- func WithCredentials(creds credentials.Credentials) connector.Option
- func WithDataQuery(ctx context.Context) context.Context
- func WithDatabase(database string) connector.Option
- func WithDefaultExecDataQueryOption(opts ...options.ExecuteDataQueryOption) connector.Option
- func WithDefaultExecScanQueryOption(opts ...options.ExecuteScanQueryOption) connector.Option
- func WithDiscoveryInterval(discoveryInterval time.Duration) connector.Option
- func WithEndpoint(endpoint string) connector.Option
- func WithExplain(ctx context.Context) context.Context
- func WithScanQuery(ctx context.Context) context.Context
- func WithSchemeQuery(ctx context.Context) context.Context
- func WithTraceDriver(t trace.Driver) connector.Option
- func WithTraceTable(t trace.Table) connector.Option
- func WithTxControl(ctx context.Context, tx *table.TransactionControl) context.Context
Constants ¶
View Source
const Version = "ydb-go-sql/0.0.2"
View Source
const Versions = "[" + Version + "," + ydb.Version + ",grpc/" + grpc.Version + "]"
Variables ¶
This section is empty.
Functions ¶
func ConnectionString ¶
func IsOperationError ¶
func IsTimeoutError ¶
func IsTransportError ¶
func WithConnectionString ¶
func WithCredentials ¶
func WithCredentials(creds credentials.Credentials) connector.Option
func WithDatabase ¶
func WithDefaultExecDataQueryOption ¶
func WithDefaultExecDataQueryOption(opts ...options.ExecuteDataQueryOption) connector.Option
func WithDefaultExecScanQueryOption ¶
func WithDefaultExecScanQueryOption(opts ...options.ExecuteScanQueryOption) connector.Option
func WithDiscoveryInterval ¶
func WithEndpoint ¶
func WithTxControl ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.