Help us shape the future of Go! Take the 2026 Go Developer Survey

std

package
v2.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 11 Imported by: 32

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMinServerVersion

func CheckMinServerVersion(conn *sql.DB, major, minor, patch uint64) bool

func GetConnectionFromDSN added in v2.4.0

func GetConnectionFromDSN(dsn string) (*sql.DB, error)

func GetConnectionFromDSNWithSessionID added in v2.33.0

func GetConnectionFromDSNWithSessionID(dsn string, sessionID string) (*sql.DB, error)

func GetConnectionWithOptions added in v2.4.0

func GetConnectionWithOptions(options *clickhouse.Options) *sql.DB

func GetDSNConnection added in v2.4.0

func GetDSNConnection(environment string, protocol clickhouse.Protocol, secure bool, opts url.Values) (*sql.DB, error)

func GetOpenDBConnection added in v2.4.0

func GetOpenDBConnection(environment string, protocol clickhouse.Protocol, settings clickhouse.Settings, tlsConfig *tls.Config, compression *clickhouse.Compression) (*sql.DB, error)

func GetOpenDBConnectionJWT added in v2.35.0

func GetOpenDBConnectionJWT(environment string, protocol clickhouse.Protocol, settings clickhouse.Settings, tlsConfig *tls.Config, jwtFunc clickhouse.GetJWTFunc) (*sql.DB, error)

func GetStdTestEnvironment added in v2.4.0

func GetStdTestEnvironment() (clickhouse_tests.ClickHouseTestEnvironment, error)

func ToJson added in v2.4.0

func ToJson(obj any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL