gormcnqs

package
v1.0.45 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CROSSJOIN

func CROSSJOIN(tableName string) *gormcnm.TableJoin

func CombineColumnNames

func CombineColumnNames(a ...utils.ColumnNameInterface) string

func CombineSelectStatements

func CombineSelectStatements(cs ...gormcnm.SelectStatement) *gormcnm.SelectStatement

func CombineStatements

func CombineStatements(a ...string) string

func CountCaseWhenQxSx

func CountCaseWhenQxSx(qx *gormcnm.QxConjunction, alias string) *gormcnm.SelectStatement

func CountCaseWhenStmt

func CountCaseWhenStmt(condition string, alias string) string

func CountStmt

func CountStmt(alias string) string

func CreateColumnValueMap

func CreateColumnValueMap(columnName string, value interface{}) gormcnm.ColumnValueMap

func CreateCondition

func CreateCondition(stmt string, args ...interface{}) *gormcnm.QxConjunction

func CreateSelect

func CreateSelect(stmt string, args ...interface{}) *gormcnm.SelectStatement

func INNERJOIN

func INNERJOIN(tableName string) *gormcnm.TableJoin

func Kw

func Kw(columnName string, value interface{}) gormcnm.ColumnValueMap

func LEFTJOIN

func LEFTJOIN(tableName string) *gormcnm.TableJoin

func MergeNames

func MergeNames(a ...utils.ColumnNameInterface) string

func MergeStmts

func MergeStmts(a ...string) string

func NewColumnValueMap

func NewColumnValueMap() gormcnm.ColumnValueMap

func NewKw

func NewKw() gormcnm.ColumnValueMap

func NewQx

func NewQx(stmt string, args ...interface{}) *gormcnm.QxConjunction

func NewSx

func NewSx(stmt string, args ...interface{}) *gormcnm.SelectStatement

func OK

func OK() bool

func OrderByColumns

func OrderByColumns(db *gorm.DB, obs ...gormcnm.OrderByBottle) *gorm.DB

func Qx

func Qx(stmt string, args ...interface{}) *gormcnm.QxConjunction

func RIGHTJOIN

func RIGHTJOIN(tableName string) *gormcnm.TableJoin

func Select

func Select(db *gorm.DB, qxs ...*gormcnm.SelectStatement) *gorm.DB

func Sx

func Sx(stmt string, args ...interface{}) *gormcnm.SelectStatement

func UpdateColumns

func UpdateColumns(db *gorm.DB, kws ...gormcnm.ColumnValueMap) *gorm.DB

func Where

func Where(db *gorm.DB, qxs ...*gormcnm.QxConjunction) *gorm.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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