Documentation
¶
Index ¶
- func DeleteQuery(tableName, index string) string
- func DropTableQuery(name string, ifExists bool) string
- func InsertQuery(tableName string, columnNames []string) string
- func NewFieldQueries(fields []*types.ColumnOptions) string
- func NewFieldQuery(field *types.ColumnOptions) string
- func NewPrimaryKeyQuery(fields []*types.ColumnOptions) string
- func NewTableConfigQuery(fields []*types.ColumnOptions) string
- func NewTableQuery(name string, fields []*types.ColumnOptions, ifNotExists bool) string
- func SelectQuery(tableName string, columnNames []string) string
- func ShowTablesLikeQuery(name string) string
- func UpdateAllQuery(tableName string, columnNames []string) string
- func UpdateQuery(tableName, index string, columnNames []string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteQuery ¶
func DropTableQuery ¶
func InsertQuery ¶
func NewFieldQueries ¶
func NewFieldQueries(fields []*types.ColumnOptions) string
func NewFieldQuery ¶
func NewFieldQuery(field *types.ColumnOptions) string
func NewPrimaryKeyQuery ¶
func NewPrimaryKeyQuery(fields []*types.ColumnOptions) string
func NewTableConfigQuery ¶
func NewTableConfigQuery(fields []*types.ColumnOptions) string
func NewTableQuery ¶
func NewTableQuery(name string, fields []*types.ColumnOptions, ifNotExists bool) string
func SelectQuery ¶
func ShowTablesLikeQuery ¶
func UpdateAllQuery ¶
func UpdateQuery ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.