Documentation ¶
Index ¶
- type Backend
- func (b *Backend) AlterField(db *sql.DB, m driver.Model, table *sql.Table, oldField *sql.Field, ...) error
- func (b *Backend) Capabilities() driver.Capability
- func (b *Backend) DefaultValues() string
- func (b *Backend) DefineField(db *sql.DB, m driver.Model, table *sql.Table, field *sql.Field) (string, []string, error)
- func (b *Backend) FieldType(typ reflect.Type, t *structs.Tag) (string, error)
- func (b *Backend) HasIndex(db *sql.DB, m driver.Model, idx *index.Index, name string) (bool, error)
- func (b *Backend) Inspect(db *sql.DB, m driver.Model) (*sql.Table, error)
- func (b *Backend) Name() string
- func (b *Backend) ScanByteSlice(val []byte, goVal *reflect.Value, t *structs.Tag) error
- func (b *Backend) ScanTime(val *time.Time, goVal *reflect.Value, t *structs.Tag) error
- func (b *Backend) Tag() string
- func (b *Backend) TransformOutValue(val reflect.Value) (interface{}, error)
- func (b *Backend) Transforms() []reflect.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
sql.SqlBackend
}
func (*Backend) AlterField ¶
func (*Backend) Capabilities ¶
func (b *Backend) Capabilities() driver.Capability
func (*Backend) DefaultValues ¶
func (*Backend) DefineField ¶
func (*Backend) ScanByteSlice ¶
func (*Backend) TransformOutValue ¶
func (*Backend) Transforms ¶
Click to show internal directories.
Click to hide internal directories.