Documentation ¶
Index ¶
- func AsAliasColumn(alias, colName string) string
- func GetDB(args ...boil.Executor) boil.Executor
- func GetLimitQueryMods(list *protobuf.ListParam) []qm.QueryMod
- func IfNull(column string, zeroValue any, args ...string) string
- func InnerJoin(joinTable string, args ...string) *joinClause
- func LeftJoin(joinTable string, args ...string) *joinClause
- func NewQmBuilder(mods ...qm.QueryMod) *qmBuilder
- func OrderBy() *orderByBuilder
- func SUM(col string, args ...string) string
- func WithUpdateTime(cols map[string]any, args ...string) map[string]any
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsAliasColumn ¶
func GetLimitQueryMods ¶
GetLimitQueryMods 获取Limit相关QueryMods
func NewQmBuilder ¶
Types ¶
type Transaction ¶
type Transaction struct { Tx boil.Transactor // contains filtered or unexported fields }
func NewTransaction ¶
func NewTransaction(args ...boil.Transactor) (*Transaction, error)
func (Transaction) CommitOrRollback ¶
func (t Transaction) CommitOrRollback(err error)
Click to show internal directories.
Click to hide internal directories.