std

package
v0.0.0-...-7fa7655 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

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

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

func GetConnectionWithOptions

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

func GetDSNConnection

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

func GetOpenDBConnection

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

func ToJson

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