Versions in this module Expand all Collapse all v0 v0.0.3 Nov 29, 2025 Changes in this version + type DB struct + func NewDB(dbKey string, connectionString string) (*DB, error) + func (m *DB) FormatArgument(n int) string + func (m *DB) Insert(ctx context.Context, table string, fields map[string]interface{}, ...) error + func (m *DB) OperationSql(op Operator, operands []Node, operandStrings []string) (sql string) + func (m *DB) QuoteIdentifier(v string) string + func (m *DB) SupportsForUpdate() bool + func (m *DB) TableDefinitionSql(d *schema2.Database, table *schema2.Table) (tableSql string, extraClauses []string) + func (m *DB) Update(ctx context.Context, table string, primaryKey map[string]any, ...) (err error) + func (m *DB) WithConstraintsOff(ctx context.Context, f func(ctx context.Context) error) (err error)