Documentation ¶
Index ¶
- func BuildInsertQuery(driver, table string, columns []string, values [][]any, ...) (string, error)
- func BuildSelectLimitQuery(driver, table string, limit uint) (string, error)
- func BuildSelectQuery(driver, table string, columns []string, whereClause *string) (string, error)
- func BuildTruncateQuery(driver, table string) (string, error)
- func BuildUpdateQuery(driver, table string, insertColumns []string, whereColumns []string, ...) (string, error)
- type SubsetColumnConstraint
- type SubsetReferenceKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInsertQuery ¶
func BuildSelectLimitQuery ¶ added in v0.4.31
func BuildSelectQuery ¶
func BuildTruncateQuery ¶
Types ¶
type SubsetColumnConstraint ¶
type SubsetColumnConstraint struct { Columns []string NotNullable []bool ForeignKey *SubsetReferenceKey }
type SubsetReferenceKey ¶
Click to show internal directories.
Click to hide internal directories.