Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*QueryParam)
type Order ¶
func OrderByDesc ¶
type QueryParam ¶
type QueryParam struct {
ObjName string
Select []string
Where interface{}
Offset int64
Limit int64
OrderBy []Order
}
QueryParam 用于构建查询参数
func (*QueryParam) Check ¶
func (q *QueryParam) Check() error
func (*QueryParam) UseOffsetAndLimit ¶
func (q *QueryParam) UseOffsetAndLimit() bool
Click to show internal directories.
Click to hide internal directories.