db

package
v0.0.0-...-a747bd0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchInsert

func BatchInsert(preSql string, rowDatas *[][]interface{})

BatchInsert @Description: @param preSql INSERT INTO example (Col1, Col2, Col3) @param rowDatas

func CloseDB

func CloseDB()

func ExceSql

func ExceSql(sql string)

func InitDB

func InitDB(datasource string)

InitDB @Description: @param datasource "clickhouse://127.0.0.1:9000?dial_timeout=1s&compress=true&max_execution_time=60"

func Ping

func Ping()

func QuerySql

func QuerySql(querySql string) []map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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