Documentation ¶
Index ¶
- func IdScope(id uint) func(db *gorm.DB) *gorm.DB
- func InIdsScope(ids []uint) func(db *gorm.DB) *gorm.DB
- func InNamesScope(names []string) func(db *gorm.DB) *gorm.DB
- func InUuidsScope(uuids []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 InNamesScope ¶ added in v1.1.7
InNamesScope 根据 name 查询 - names 数据
func InUuidsScope ¶ added in v1.1.7
InUuidsScope 根据 uuid 查询 - uuid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.