Documentation ¶
Index ¶
- func IdScope(id uint) func(db *gorm.DB) *gorm.DB
- func InIdsScope(ids []string) func(db *gorm.DB) *gorm.DB
- func MobileScope(mobile string) func(db *gorm.DB) *gorm.DB
- func NeIdScope(id uint) func(db *gorm.DB) *gorm.DB
- func PaginateScope(page, pageSize int, sort, orderBy string) func(db *gorm.DB) *gorm.DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InIdsScope ¶
InIdsScope 根据 id 查询 - ids 数据id
func MobileScope ¶
MobileScope 根据 Mobile 查询 - Mobile 数据Mobile
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.