Documentation
¶
Overview ¶
Package state will hold public selector and state contracts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamedSelector ¶
NamedSelector binds a selector to one named view/query scope.
func (*NamedSelector) Clone ¶
func (s *NamedSelector) Clone() *NamedSelector
type Selector ¶
type Selector struct {
Columns []string `json:",omitempty"`
Fields []string `json:",omitempty"`
OrderBy string `json:",omitempty"`
Offset int `json:",omitempty"`
Limit int `json:",omitempty"`
Page int `json:",omitempty"`
Criteria string `json:",omitempty"`
Placeholders []interface{} `json:",omitempty"`
}
Selector is the public invocation-scoped query-selector contract.
func (*Selector) CurrentLimit ¶
func (*Selector) CurrentOffset ¶
func (*Selector) CurrentPage ¶
func (*Selector) SetCriteria ¶
Click to show internal directories.
Click to hide internal directories.