Dialector GORM database dialector
| 10 | |
| 11 | // Dialector GORM database dialector |
| 12 | type Dialector interface { |
| 13 | Name() string |
| 14 | Initialize(*DB) error |
| 15 | Migrator(db *DB) Migrator |
| 16 | DataTypeOf(*schema.Field) string |
| 17 | DefaultValueOf(*schema.Field) clause.Expression |
| 18 | BindVarTo(writer clause.Writer, stmt *Statement, v interface{}) |
| 19 | QuoteTo(clause.Writer, string) |
| 20 | Explain(sql string, vars ...interface{}) string |
| 21 | } |
| 22 | |
| 23 | // Plugin GORM plugin interface |
| 24 | type Plugin interface { |
no outgoing calls
no test coverage detected