Versions in this module Expand all Collapse all v1 v1.15.3 Aug 21, 2026 Changes in this version + const MySQLVersionQuery + const PostgresVersionQuery + const SQLiteVersionQuery + func EmbellishSQLite3ConnString(connectionString string) (string, error) + func GetConnectionString(cfg *Configuration, isReadOnly bool) string + func IsMySQLConstraintViolation(err error) bool + func IsPostgresConstraintViolation(err error) bool + func IsSQLiteConstraintViolation(err error) bool + func NewSQLError(fmtMsg string, args ...any) error + func NewValidationError(fmtMsg string, args ...any) error + func NewWrappedSQLError(err error) error + func NewWrappedValidationError(err error) error + type AWSConfig struct + AccessKeyID string + Region string + SecretAccessKey string + func (a *AWSConfig) Validate() error + type Configuration struct + ClientCertPath string + ClientKeyPath string + ConnMaxLifetime *string + ConnectionString string + DBTypeConfig *DBTypeConfig + DatabaseTypeNode ast.Node + DisableMigration bool + LogSQL bool + MaxIdleConns *int + MaxOpenConns *int + RoConnectionString string + RootCAPath string + type DBTypeConfig struct + AWSMySQL *AWSConfig + AWSPostgres *AWSConfig + DatabaseType string + type SQLError struct + func (s *SQLError) Error() string + func (s *SQLError) Unwrap() error + type ValidationError struct + func (v *ValidationError) Error() string + func (v *ValidationError) Unwrap() error