Documentation ¶
Index ¶
- Constants
- Variables
- func GetClickhouseTableColumn(db *sql.DB, dbName, table, pk, dbType string) (*model.SQLTable, error)
- func QueryRows(db *sql.DB, types map[string]model.DataType, query string, args ...interface{}) ([]*model.Data, error)
- func Run(exit chan struct{}, wg *sync.WaitGroup)
- func SetConfig(config *config.Config)
Constants ¶
View Source
const (
TIMEOUT = 60
)
Variables ¶
View Source
var (
CkgroupStore ckgroupStore
)
View Source
var ErrPrimarykeyMiss = errors.New("primarikey is required, but not found")
ErrPrimarykeyMiss 主键不存在
Functions ¶
func GetClickhouseTableColumn ¶
func GetClickhouseTableColumn(db *sql.DB, dbName, table, pk, dbType string) (*model.SQLTable, error)
GetClickhouseTableColumn 获取 clickhouse 列信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.