Documentation
¶
Index ¶
- func ConvertQueryPlaceholders(query string) string
- func DeleteQuery(tableName, index string) string
- func DropTableQuery(name string, ifExists bool) string
- func InsertQuery(tableName string, columnNames []string, autoIncrementField string) string
- func IsPostgres(driver string) bool
- func NewFieldQueries(fields []*types.ColumnOptions) string
- func NewFieldQuery(field *types.ColumnOptions) string
- func NewPrimaryKeyQuery(fields []*types.ColumnOptions) string
- func NewTableQuery(name string, fields []*types.ColumnOptions, ifNotExists bool) string
- func ShowTablesQuery(name 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 IsPostgres ¶
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 NewTableQuery ¶
func NewTableQuery(name string, fields []*types.ColumnOptions, ifNotExists bool) string
func ShowTablesQuery ¶
func UpdateQuery ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.