Documentation
¶
Index ¶
- Variables
- type SQLite
- func (SQLite) AlterColumnSQL(string, string, reflect.Type, dialect.ColumnSpec) (string, error)
- func (s SQLite) ColumnDefinition(t reflect.Type, spec dialect.ColumnSpec) (string, error)
- func (s SQLite) ColumnTypesSQL(table string) (string, []any)
- func (SQLite) CurrentDatabaseSQL() string
- func (s SQLite) DropIndexSQL(_, index string) string
- func (SQLite) GetTablesSQL() (string, []any)
- func (s SQLite) HasColumnSQL(table, column string) (string, []any)
- func (d SQLite) HasConstraintSQL(table, name string) (string, []any)
- func (s SQLite) HasIndexSQL(_, index string) (string, []any)
- func (s SQLite) HasTableSQL(table string) (string, []any)
- func (SQLite) InlinesPrimaryKey(spec dialect.ColumnSpec) bool
- func (SQLite) Name() string
- func (SQLite) Placeholder(n int) string
- func (SQLite) QuoteIdent(name string) string
- func (SQLite) RenameIndexSQL(string, string, string) (string, error)
- func (SQLite) SupportsILike() bool
- func (SQLite) SupportsOnConflict() bool
- func (SQLite) SupportsReturning() bool
- func (SQLite) SupportsRowLocking() bool
- func (SQLite) SupportsSavepoints() bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRenameIndexUnsupported = errors.New("sqlitedialect: RENAME INDEX is not supported by SQLite")
Functions ¶
This section is empty.
Types ¶
type SQLite ¶
type SQLite struct{}
SQLite implements dialect.Dialect. Error classification lives in pack/driver/sqlite, not here - see driver.ErrorDecoder.
func (SQLite) AlterColumnSQL ¶
func (SQLite) ColumnDefinition ¶
func (SQLite) CurrentDatabaseSQL ¶
func (SQLite) DropIndexSQL ¶
func (SQLite) GetTablesSQL ¶
func (SQLite) HasConstraintSQL ¶
func (SQLite) InlinesPrimaryKey ¶
func (SQLite) InlinesPrimaryKey(spec dialect.ColumnSpec) bool
func (SQLite) Placeholder ¶
func (SQLite) QuoteIdent ¶
func (SQLite) SupportsILike ¶
func (SQLite) SupportsOnConflict ¶
func (SQLite) SupportsReturning ¶
func (SQLite) SupportsRowLocking ¶
func (SQLite) SupportsSavepoints ¶
Click to show internal directories.
Click to hide internal directories.