Documentation ¶
Index ¶
- Constants
- func Open(dsn string) gorm.Dialector
- type Column
- type Dialect
- func (dialect Dialect) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{})
- func (dialect Dialect) ClauseBuilders() map[string]clause.ClauseBuilder
- func (dialect Dialect) DataTypeOf(field *schema.Field) string
- func (dialect Dialect) DefaultValueOf(field *schema.Field) clause.Expression
- func (dialect Dialect) Explain(sql string, vars ...interface{}) string
- func (dialect Dialect) Initialize(db *gorm.DB) (err error)
- func (dialect Dialect) Migrator(db *gorm.DB) gorm.Migrator
- func (dialect Dialect) Name() string
- func (dialect Dialect) QuoteTo(writer clause.Writer, str string)
- func (dialect Dialect) RollbackTo(tx *gorm.DB, name string) error
- func (dialect Dialect) SavePoint(tx *gorm.DB, name string) error
- type Migrator
- func (m Migrator) AlterColumn(value interface{}, field string) error
- func (m Migrator) AutoMigrate(values ...interface{}) error
- func (m Migrator) DropConstraint(value interface{}, name string) error
- func (m Migrator) FullDataTypeOf(field *schema.Field) (expr clause.Expr)
- func (m Migrator) RenameColumn(value interface{}, oldName, newName string) error
- func (m Migrator) RenameIndex(value interface{}, oldName, newName string) error
Constants ¶
View Source
const DriverName = "taosSql"
DriverName is the default driver name for TDengine.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Column ¶
type Column struct {
// contains filtered or unexported fields
}
func (Column) DatabaseTypeName ¶
type Dialect ¶
func (Dialect) ClauseBuilders ¶
func (dialect Dialect) ClauseBuilders() map[string]clause.ClauseBuilder
func (Dialect) DefaultValueOf ¶
func (dialect Dialect) DefaultValueOf(field *schema.Field) clause.Expression
type Migrator ¶
func (Migrator) AlterColumn ¶
func (Migrator) AutoMigrate ¶
func (Migrator) DropConstraint ¶
func (Migrator) FullDataTypeOf ¶
func (Migrator) RenameColumn ¶
func (Migrator) RenameIndex ¶
Click to show internal directories.
Click to hide internal directories.