Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgreSQLDialect ¶
type PostgreSQLDialect struct{}
func (PostgreSQLDialect) ILIKE ¶
func (PostgreSQLDialect) ILIKE(col string, placeholder string) string
func (PostgreSQLDialect) Name ¶
func (PostgreSQLDialect) Name() string
func (PostgreSQLDialect) OffsetAndLimit ¶
func (PostgreSQLDialect) OffsetAndLimit(offset, limit uint32) string
func (PostgreSQLDialect) Placeholder ¶
func (PostgreSQLDialect) Placeholder(pos int) string
func (PostgreSQLDialect) SupportsReturning ¶
func (PostgreSQLDialect) SupportsReturning() bool
type SQLDialect ¶
type SQLDialect interface {
Name() string // Название диалекта. / EN: Dialect name.
Placeholder(pos int) string // Плейсхолдер для параметра (1-based). / EN: Placeholder for parameter (1-based).
SupportsReturning() bool // Поддерживает ли RETURNING. / EN: Whether RETURNING is supported.
OffsetAndLimit(offset, limit uint32) string // Строка с Offset и Limit
ILIKE(col string, placeholder string) string
}
type SQLiteDialect ¶
type SQLiteDialect struct{}
SQLiteDialect реализует диалект SQLite. EN: SQLiteDialect implements the SQLite dialect.
func (SQLiteDialect) Name ¶
func (SQLiteDialect) Name() string
Name возвращает название диалекта. EN: Name returns the dialect name.
func (SQLiteDialect) OffsetAndLimit ¶
func (SQLiteDialect) OffsetAndLimit(offset, limit uint32) string
func (SQLiteDialect) Placeholder ¶
func (SQLiteDialect) Placeholder(_ int) string
func (SQLiteDialect) SupportsReturning ¶
func (SQLiteDialect) SupportsReturning() bool
Click to show internal directories.
Click to hide internal directories.