Versions in this module Expand all Collapse all v0 v0.2.1 Oct 8, 2024 Changes in this version + func NewSource(bs *database.BaseSource) (s database.Source, err error) + func Quoted(s string) string + type Config struct + URL string + func NewConfig(conf *config.JSON) (c *Config, err error) + func (c *Config) FormatDSN() (dsn string, err error) + type Dialect struct + func (d Dialect) Name() string + func (d Dialect) Source(bs *database.BaseSource) (database.Source, error) + type Field struct + func NewField(bf *database.BaseField) *Field + func (f *Field) BindVar(i int) string + func (f *Field) Quoted() string + func (f *Field) Scanner() database.Scanner + func (f *Field) Select() string + func (f *Field) Type() database.FieldType + func (f *Field) Valuer(c element.Column) database.Valuer + type FieldType struct + func NewFieldType(typ database.ColumnType) *FieldType + func (f *FieldType) GoType() database.GoType + func (f *FieldType) IsSupported() bool + type Scanner struct + func NewScanner(f *Field) *Scanner + func (s *Scanner) Scan(src any) (err error) + type Source struct + func (s *Source) ConnectName() string + func (s *Source) DriverName() string + func (s *Source) Key() string + func (s *Source) Table(b *database.BaseTable) database.Table + type Table struct + func NewTable(b *database.BaseTable) *Table + func (t *Table) AddField(baseField *database.BaseField) + func (t *Table) ExecParam(mode string, txOpts *sql.TxOptions) (database.Parameter, bool) + func (t *Table) Quoted() string + func (t *Table) ShouldOneByOne(err error) bool + func (t *Table) ShouldRetry(err error) bool + func (t *Table) String() string