Documentation ¶
Index ¶
- Constants
- func Open(db *sql.DB) gorm.Dialector
- type Dialector
- func (wrapper Dialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{})
- func (wrapper Dialector) ClauseBuilders() map[string]clause.ClauseBuilder
- func (wrapper Dialector) DataTypeOf(field *schema.Field) string
- func (wrapper Dialector) DefaultValueOf(field *schema.Field) clause.Expression
- func (wrapper Dialector) Explain(sql string, vars ...interface{}) string
- func (wrapper Dialector) Initialize(db *gorm.DB) (err error)
- func (wrapper Dialector) Migrator(db *gorm.DB) gorm.Migrator
- func (wrapper Dialector) Name() string
- func (wrapper Dialector) QuoteTo(writer clause.Writer, str string)
- func (wrapper Dialector) RollbackTo(tx *gorm.DB, name string) error
- func (wrapper Dialector) SavePoint(tx *gorm.DB, name string) error
Constants ¶
View Source
const DriverName = "dqlite"
DriverName is the default driver name for DQLite.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dialector ¶
type Dialector struct {
// contains filtered or unexported fields
}
func (Dialector) ClauseBuilders ¶
func (wrapper Dialector) ClauseBuilders() map[string]clause.ClauseBuilder
func (Dialector) DefaultValueOf ¶
func (wrapper Dialector) DefaultValueOf(field *schema.Field) clause.Expression
Click to show internal directories.
Click to hide internal directories.