sql

package
v4.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteQuery

func DeleteQuery(tableName, index string) string

func DropTableQuery

func DropTableQuery(name string, ifExists bool) string

func InsertQuery

func InsertQuery(tableName string, columnNames []string) string

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 SelectQuery(tableName string, columnNames []string) string

func ShowTablesLikeQuery

func ShowTablesLikeQuery(name string) string

func UpdateAllQuery

func UpdateAllQuery(tableName string, columnNames []string) string

func UpdateQuery

func UpdateQuery(tableName, index string, columnNames []string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL