Documentation ¶
Index ¶
- type Backend
- func (b *Backend) AddFields(db *sql.DB, m driver.Model, prevTable *sql.Table, newTable *sql.Table, ...) error
- 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) Func(fname string, retType reflect.Type) (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) ScanInt(val int64, 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) DefineField ¶
func (*Backend) TransformOutValue ¶
func (*Backend) Transforms ¶
Click to show internal directories.
Click to hide internal directories.