Documentation ¶
Index ¶
- func CheckMinServerVersion(conn *sql.DB, major, minor, patch uint64) bool
- func GetConnectionFromDSN(dsn string) (*sql.DB, error)
- func GetConnectionWithOptions(options *clickhouse.Options) *sql.DB
- func GetDSNConnection(environment string, protocol clickhouse.Protocol, secure bool, opts url.Values) (*sql.DB, error)
- func GetOpenDBConnection(environment string, protocol clickhouse.Protocol, settings clickhouse.Settings, ...) (*sql.DB, error)
- func GetStdTestEnvironment() (clickhouse_tests.ClickHouseTestEnvironment, error)
- func ToJson(obj any) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMinServerVersion ¶
func GetConnectionWithOptions ¶ added in v2.4.0
func GetDSNConnection ¶ added in v2.4.0
func GetOpenDBConnection ¶ added in v2.4.0
func GetStdTestEnvironment ¶ added in v2.4.0
func GetStdTestEnvironment() (clickhouse_tests.ClickHouseTestEnvironment, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.