Documentation ¶
Index ¶
- Constants
- type Hint
- func DefaultRelDepth() *Hint
- func ForUpdate() *Hint
- func ForceIndex(indexes ...string) *Hint
- func IgnoreIndex(indexes ...string) *Hint
- func Limit(d int64) *Hint
- func NewHint(key interface{}, value interface{}) *Hint
- func Offset(d int64) *Hint
- func OrderBy(s string) *Hint
- func RelDepth(d int) *Hint
- func UseIndex(indexes ...string) *Hint
Constants ¶
View Source
const ( // query level KeyForceIndex = iota KeyUseIndex KeyIgnoreIndex KeyForUpdate KeyLimit KeyOffset KeyOrderBy KeyRelDepth )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hint ¶
type Hint struct {
// contains filtered or unexported fields
}
func DefaultRelDepth ¶
func DefaultRelDepth() *Hint
DefaultRelDepth return a hint about DefaultRelDepth
func ForceIndex ¶
ForceIndex return a hint about ForceIndex
func IgnoreIndex ¶
IgnoreIndex return a hint about IgnoreIndex
Click to show internal directories.
Click to hide internal directories.