Documentation ¶
Index ¶
- type Query
- func All(queries ...Query) Query
- func Any(queries ...Query) Query
- func Between(field string, from, to any) Query
- func Bool(all []Query, none []Query) Query
- func Exists(field string) Query
- func GreaterThan(field string, value any) Query
- func GreaterThanOrEqual(field string, value any) Query
- func Ids(values ...string) Query
- func LessThan(field string, value any) Query
- func LessThanOrEqual(field string, value any) Query
- func Match(field string, value any) Query
- func MatchPhrase(field, value string) Query
- func Nested(path string, query Query) Query
- func Not(query Query) Query
- func Term(field string, value any) Query
- type Sort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
func GreaterThan ¶
GreaterThan is a shortcut for a range query where x > value
func GreaterThanOrEqual ¶
GreaterThanOrEqual is a shortcut for a range query where x >= value
func LessThanOrEqual ¶
LessThanOrEqual is a shortcut for a range query where x <= value
func MatchPhrase ¶
MatchPhrase is a shortcut for a match_phrase query
Click to show internal directories.
Click to hide internal directories.