Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialect ¶
type Dialect interface {
// Placeholder returns the placeholder format for this driver
// e.g., "?" for SQLite/MySQL, "$" for Postgres
Placeholder(position int) string
// SupportsReturning indicates if the driver supports RETURNING clauses
SupportsReturning() bool
// Quote quotes an identifier (table/column name)
Quote(identifier string) string
// TypeRegistry returns the type converter registry for this dialect
// Used to handle type conversions between database and Go types
TypeRegistry() *typeconv.Registry
}
Dialect represents a SQL dialect (placeholder/quoting behavior).
func DialectByName ¶
DialectByName returns a dialect by name
Click to show internal directories.
Click to hide internal directories.