Documentation ¶
Overview ¶
Package cond @Author: asus @Description: $ @File: cond @Data: 2022/4/129:54
Index ¶
- func Ending(column string, str string) func(db *gorm.DB) *gorm.DB
- func Eq(column string, args ...interface{}) func(db *gorm.DB) *gorm.DB
- func Gt(column string, args ...interface{}) func(db *gorm.DB) *gorm.DB
- func Gte(column string, args ...interface{}) func(db *gorm.DB) *gorm.DB
- func In(column string, params interface{}) func(db *gorm.DB) *gorm.DB
- func Like(column string, str string) func(db *gorm.DB) *gorm.DB
- func Lt(column string, args ...interface{}) func(db *gorm.DB) *gorm.DB
- func Lte(column string, args ...interface{}) func(db *gorm.DB) *gorm.DB
- func NotEq(column string, args ...interface{}) func(db *gorm.DB) *gorm.DB
- func NotIn(column string, params interface{}) func(db *gorm.DB) *gorm.DB
- func Page(page, pageSize int) func(db *gorm.DB) *gorm.DB
- func PageByParams(ctx iris.Context) func(db *gorm.DB) *gorm.DB
- func PageByQuery(ctx iris.Context) func(db *gorm.DB) *gorm.DB
- func Starting(column string, str string) func(db *gorm.DB) *gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageByParams ¶ added in v0.9.4
PageByParams 分页
func PageByQuery ¶ added in v0.9.5
PagebyURL 分页
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.