Documentation ¶
Index ¶
- type Dialect
- func (d *Dialect) ConvertValueCode(field *load.Field) string
- func (Dialect) GoTypeToColumnType(goTypeName string, autoIncrement bool) *sqltypes.Type
- func (d *Dialect) Name() string
- func (d *Dialect) Quote(name string) string
- func (d *Dialect) Translate(name string) string
- func (d *Dialect) Var(i int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialect ¶
type Dialect struct{}
Dialect is code generator for mysql dialect
func (*Dialect) ConvertValueCode ¶
ConvertValueCode returns go code for converting value returned from the database to the given field.
func (Dialect) GoTypeToColumnType ¶
GoTypeToColumnType translate a name of a Go type to the equivalent SQL column type.
Click to show internal directories.
Click to hide internal directories.