Documentation ¶
Index ¶
- Constants
- func EnsureTable(gormDb *gorm.DB, tableName string, model interface{}) error
- func GenerateClickhouseDsn(params ConnectionParams) string
- func GenerateMysqlDsn(params ConnectionParams) string
- func GenerateMzDsn(params ConnectionParams) string
- func GeneratePostgresDsn(params ConnectionParams) string
- type BasePKeylessModel
- type ConnectionParams
Constants ¶
View Source
const ( POSTGRES = "postgres" MATERIALIZE = "materialize" MYSQL = "mysql" CLICKHOUSE = "clickhouse" MONGODB = "mongodb" ELASTICSEARCH = "elasticsearch" TIMESCALE = "timescale" )
Variables ¶
This section is empty.
Functions ¶
func GenerateClickhouseDsn ¶
func GenerateClickhouseDsn(params ConnectionParams) string
func GenerateMysqlDsn ¶
func GenerateMysqlDsn(params ConnectionParams) string
func GenerateMzDsn ¶
func GenerateMzDsn(params ConnectionParams) string
func GeneratePostgresDsn ¶
func GeneratePostgresDsn(params ConnectionParams) string
Types ¶
type BasePKeylessModel ¶
Click to show internal directories.
Click to hide internal directories.