Documentation
¶
Overview ¶
Package dialect handles differences in various SQL dialects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ANSI *Dialect MSSQL *Dialect MySQL *Dialect Postgres *PostgresDialect SQLite *Dialect )
Pre-defined dialects
Functions ¶
This section is empty.
Types ¶
type Dialect ¶
type Dialect struct {
// contains filtered or unexported fields
}
Dialect provides information about an SQL dialect.
func (*Dialect) Placeholder ¶
Placeholder returns the string for a placeholder.
type PostgresDialect ¶ added in v0.6.0
type PostgresDialect struct {
Dialect
}
PostgresDialect is a dialect for PostgreSQL.
func (*PostgresDialect) Postgres ¶ added in v0.6.0
func (d *PostgresDialect) Postgres()
Postgres is a marker method that indicates the dialect is for PostgreSQL.
Click to show internal directories.
Click to hide internal directories.