Documentation
¶
Index ¶
- type Dialect
- func (Dialect) Capabilities() dialect.Capabilities
- func (d Dialect) ColumnDefinition(col *schema.Column) (string, error)
- func (Dialect) Name() string
- func (Dialect) Placeholder(i int) string
- func (Dialect) QuoteIdent(in string) string
- func (d Dialect) RenderDefault(expr string) (string, error)
- func (d Dialect) RenderDelete(table string, where []string, returning []string) (string, error)
- func (d Dialect) RenderDropView(view *schema.View) (string, error)
- func (d Dialect) RenderExpression(expr string) (string, error)
- func (d Dialect) RenderInsert(table string, columns []string, returning []string) (string, error)
- func (d Dialect) RenderMigration(diff *schema.Diff) ([]string, error)
- func (d Dialect) RenderOperation(op schema.Operation) (string, error)
- func (d Dialect) RenderPredicate(left, operator string, right string) (string, error)
- func (d Dialect) RenderSelect(table string, columns []string, distinct bool, joins []string, where []string, ...) (string, error)
- func (d Dialect) RenderUpdate(table string, set []string, where []string, returning []string) (string, error)
- func (d Dialect) RenderView(view *schema.View) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dialect ¶
type Dialect struct{}
func (Dialect) Capabilities ¶
func (Dialect) Capabilities() dialect.Capabilities
func (Dialect) ColumnDefinition ¶
func (Dialect) Placeholder ¶
func (Dialect) QuoteIdent ¶
func (Dialect) RenderDefault ¶ added in v0.1.1
func (Dialect) RenderDelete ¶
func (Dialect) RenderDropView ¶ added in v0.1.1
func (Dialect) RenderExpression ¶ added in v0.1.1
func (Dialect) RenderInsert ¶
func (Dialect) RenderMigration ¶
func (Dialect) RenderOperation ¶
func (Dialect) RenderPredicate ¶ added in v0.1.1
func (Dialect) RenderSelect ¶
func (Dialect) RenderUpdate ¶
Click to show internal directories.
Click to hide internal directories.