std

package
v2.9.2 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 11 Imported by: 17

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 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 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