Documentation ¶
Index ¶
- func Describe(names []string, opts []interface{}) (func(string) (string, string, bool), error)
- func Read(source interface{}, opts ...interface{}) (*tables.Table, error)
- func Sink(source interface{}, opts ...interface{}) tables.Sink
- func Source(source interface{}, opts ...interface{}) tables.Lazy
- func Write(source interface{}, t *tables.Table, opts ...interface{}) error
- type Batch
- type Driver
- type IfExists_
- type Query
- type Schema
- type SqlBigint
- type SqlBool
- type SqlDouble
- type SqlFloat
- type SqlInteger
- type SqlScan
- type SqlSmall
- type SqlString
- type SqlTimestamp
- type SqlTypeOpt
- func AUTOINCREMENT(v string) SqlTypeOpt
- func BIGINT(v string) SqlTypeOpt
- func BOOLEAN(v string) SqlTypeOpt
- func Column(v string) SqlTypeOpt
- func DATE(v string) SqlTypeOpt
- func DATETIME(v string) SqlTypeOpt
- func DECIMAL(v string, prec ...int) SqlTypeOpt
- func DOUBLE(v string) SqlTypeOpt
- func FLOAT(v string) SqlTypeOpt
- func INTEGER(v string) SqlTypeOpt
- func SMALLINT(v string) SqlTypeOpt
- func TIMESTAMP(v string) SqlTypeOpt
- func VARCHAR(v string, length ...int) SqlTypeOpt
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Describe ¶
Types ¶
type SqlBigint ¶
type SqlBool ¶
type SqlDouble ¶
type SqlDouble struct {
sql.NullFloat64
}
type SqlFloat ¶
type SqlFloat struct {
sql.NullFloat64
}
type SqlInteger ¶
func (*SqlInteger) Reflect ¶
func (s *SqlInteger) Reflect() reflect.Type
func (*SqlInteger) Scan ¶
func (s *SqlInteger) Scan(value interface{}) error
func (*SqlInteger) Value ¶
func (s *SqlInteger) Value() (reflect.Value, bool)
type SqlScan ¶
type SqlSmall ¶
type SqlString ¶
type SqlString struct {
sql.NullString
}
type SqlTimestamp ¶
func (*SqlTimestamp) Reflect ¶
func (s *SqlTimestamp) Reflect() reflect.Type
func (*SqlTimestamp) Scan ¶
func (s *SqlTimestamp) Scan(value interface{}) error
func (*SqlTimestamp) Value ¶
func (s *SqlTimestamp) Value() (reflect.Value, bool)
type SqlTypeOpt ¶
func AUTOINCREMENT ¶
func AUTOINCREMENT(v string) SqlTypeOpt
func BIGINT ¶
func BIGINT(v string) SqlTypeOpt
func BOOLEAN ¶
func BOOLEAN(v string) SqlTypeOpt
func Column ¶
func Column(v string) SqlTypeOpt
func DATE ¶
func DATE(v string) SqlTypeOpt
func DATETIME ¶
func DATETIME(v string) SqlTypeOpt
func DECIMAL ¶
func DECIMAL(v string, prec ...int) SqlTypeOpt
func DOUBLE ¶
func DOUBLE(v string) SqlTypeOpt
func FLOAT ¶
func FLOAT(v string) SqlTypeOpt
func INTEGER ¶
func INTEGER(v string) SqlTypeOpt
func SMALLINT ¶
func SMALLINT(v string) SqlTypeOpt
func TIMESTAMP ¶
func TIMESTAMP(v string) SqlTypeOpt
func VARCHAR ¶
func VARCHAR(v string, length ...int) SqlTypeOpt
func (SqlTypeOpt) As ¶
func (f SqlTypeOpt) As(b string) SqlTypeOpt
func (SqlTypeOpt) PrimaryKey ¶
func (f SqlTypeOpt) PrimaryKey() SqlTypeOpt
Click to show internal directories.
Click to hide internal directories.