Documentation ¶
Index ¶
- func Open(dataSourceName string, opts ...bun.DBOption) (*bun.DB, error)
- func WithConnMaxIdleTime(d time.Duration) bun.DBOption
- func WithMaxIdleConns(n int) bun.DBOption
- func WithMaxOpenConns(n int) bun.DBOption
- type Dialect
- func (d *Dialect) AppendSequence(b []byte, _ *schema.Table, _ *schema.Field) []byte
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithMaxIdleConns ¶
func WithMaxOpenConns ¶
Types ¶
type Dialect ¶
type Dialect struct { schema.BaseDialect // contains filtered or unexported fields }
func (*Dialect) AppendSequence ¶
func (*Dialect) DefaultVarcharLen ¶
func (*Dialect) IdentQuote ¶
Click to show internal directories.
Click to hide internal directories.