Documentation
¶
Index ¶
- func Version() string
- type Dialect
- func (*Dialect) AppendBool(b []byte, v bool) []byte
- func (*Dialect) AppendBytes(b, bs []byte) []byte
- func (d *Dialect) AppendSequence(b []byte, table *schema.Table, field *schema.Field) []byte
- func (*Dialect) AppendTime(b []byte, tm time.Time) []byte
- func (d *Dialect) DefaultSchema() string
- func (d *Dialect) DefaultVarcharLen() int
- func (d *Dialect) Features() feature.Feature
- func (d *Dialect) IdentQuote() byte
- func (d *Dialect) Init(*sql.DB)
- func (d *Dialect) Name() dialect.Name
- func (d *Dialect) OnTable(table *schema.Table)
- func (d *Dialect) Tables() *schema.Tables
- type DialectOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dialect ¶
type Dialect struct { schema.BaseDialect // contains filtered or unexported fields }
func New ¶
func New(opts ...DialectOption) *Dialect
func (*Dialect) AppendBytes ¶
func (*Dialect) AppendSequence ¶
func (*Dialect) DefaultSchema ¶
func (*Dialect) DefaultVarcharLen ¶
func (*Dialect) IdentQuote ¶
type DialectOption ¶ added in v1.2.7
type DialectOption func(d *Dialect)
func WithoutFeature ¶ added in v1.2.7
func WithoutFeature(other feature.Feature) DialectOption
Click to show internal directories.
Click to hide internal directories.