Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateIndex ¶
func (CreateIndex) BuildApply ¶
func (q CreateIndex) BuildApply(d gosql.Dialect) (string, error)
BuildApply returns create SQL query in specified dialect.
func (CreateIndex) BuildUnapply ¶
func (q CreateIndex) BuildUnapply(d gosql.Dialect) (string, error)
type CreateTable ¶
type CreateTable struct { Name string Columns []Column ForeignKeys []ForeignKey Strict bool }
CreateTable represents create table query.
func (CreateTable) BuildApply ¶
func (q CreateTable) BuildApply(d gosql.Dialect) (string, error)
BuildApply returns create SQL query in specified dialect.
func (CreateTable) BuildUnapply ¶
func (q CreateTable) BuildUnapply(d gosql.Dialect) (string, error)
type ForeignKey ¶
Click to show internal directories.
Click to hide internal directories.