Documentation ¶
Index ¶
- func Page[T comparable](params []page.Param, pageNum int, pageSize int, m interface{}, data []T, ...) *page.Data
- func PageNoCount[T comparable](params []page.Param, pageNum int, pageSize int, m interface{}, data []T, ...) *page.Data
- func PageNoCountV2[T comparable](params []page.Param, pageNum int, pageSize int, m interface{}, data []T, ...) *page.Data
- func PageSql[T comparable](db *gorm.DB, data []T, pageNum int, pageSize int, sql string, ...) *page.Data
- func PageSqlNoCount[T comparable](db *gorm.DB, data []T, pageNum int, pageSize int, sql string, ...) []T
- func PageV2[T comparable](params []page.Param, pageNum int, pageSize int, m interface{}, data []T, ...) *page.Data
- func Query[T comparable](params []page.Param, m interface{}, data []T, orderBy string, db *gorm.DB) []T
- func QueryV2[T comparable](params []page.Param, m interface{}, data []T, orderBy string, db *gorm.DB) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PageNoCount ¶ added in v0.0.51
func PageNoCountV2 ¶ added in v0.0.96
func PageSqlNoCount ¶ added in v0.0.15
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.