Documentation ¶
Index ¶
- type Dialector
- func (_m *Dialector) BindVarTo(writer clause.Writer, stmt *gorm.Statement, v interface{})
- func (_m *Dialector) DataTypeOf(_a0 *schema.Field) string
- func (_m *Dialector) DefaultValueOf(_a0 *schema.Field) clause.Expression
- func (_m *Dialector) Explain(sql string, vars ...interface{}) string
- func (_m *Dialector) Initialize(_a0 *gorm.DB) error
- func (_m *Dialector) Migrator(db *gorm.DB) gorm.Migrator
- func (_m *Dialector) Name() string
- func (_m *Dialector) QuoteTo(_a0 clause.Writer, _a1 string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialector ¶
Dialector is an autogenerated mock type for the Dialector type
func NewDialector ¶
func NewDialector(t mockConstructorTestingTNewDialector) *Dialector
NewDialector creates a new instance of Dialector. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Dialector) DataTypeOf ¶
DataTypeOf provides a mock function with given fields: _a0
func (*Dialector) DefaultValueOf ¶
func (_m *Dialector) DefaultValueOf(_a0 *schema.Field) clause.Expression
DefaultValueOf provides a mock function with given fields: _a0
func (*Dialector) Initialize ¶
Initialize provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.