Documentation
¶
Index ¶
- type Page
- func (p *Page) Limit() int
- func (p *Page) NamedSelect(items interface{}, arg interface{}) (*service.ContentResponse, error)
- func (p *Page) Offset() int
- func (p *Page) Select(items interface{}, params ...interface{}) (*service.ContentResponse, error)
- func (p *Page) SetupTest(response interface{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Page ¶
type Page struct {
Cx sql.ConnX
Attributes string
From string
Join string
Where string
Order string
Page int
PageSize int
}
func (*Page) NamedSelect ¶ added in v0.1.10
func (p *Page) NamedSelect(items interface{}, arg interface{}) (*service.ContentResponse, error)
Click to show internal directories.
Click to hide internal directories.