Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClickHouse ¶
type ClickHouse interface {
DB() *sql.DB
Version() (*Version, error)
Exec(query string) error
ExecFromFile(path string) error
SetSearchPath(path ...string)
ShowDatabases() ([]string, error)
ShowTables(from ...string) ([]string, error)
DatabaseExists(database string) bool
TableExists(database, table string) bool
DictionaryExists(dictionary string) bool
ReloadDictionary(dictionary string) bool
CopyFromCSVReader(r io.Reader, sql string) bool
CopyFromTSVReader(r io.Reader, sql string) bool
CopyFromCSVFile(path, sql string) bool
CopyFromTSVFile(path, sql string) bool
DropDatabase(database string) bool
DropTable(database, table string) bool
Clear() bool
}
Click to show internal directories.
Click to hide internal directories.