Documentation
¶
Index ¶
- func Version() string
- type Dialect
- func (*Dialect) AppendBytes(b []byte, bs []byte) []byte
- func (*Dialect) AppendJSON(b, jsonb []byte) []byte
- func (d *Dialect) AppendSequence(b []byte, _ *schema.Table, _ *schema.Field) []byte
- func (*Dialect) AppendString(b []byte, s string) []byte
- func (d *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(db *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) AppendJSON ¶
func (*Dialect) AppendSequence ¶
func (*Dialect) DefaultSchema ¶
func (*Dialect) DefaultVarcharLen ¶
func (*Dialect) IdentQuote ¶
type DialectOption ¶
type DialectOption func(d *Dialect)
func WithTimeLocation ¶
func WithTimeLocation(loc string) DialectOption
func WithoutFeature ¶
func WithoutFeature(other feature.Feature) DialectOption
Click to show internal directories.
Click to hide internal directories.