Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpEq = "=" OpNeq = "!=" OpGt = ">" OpGte = ">=" OpLt = "<" OpLte = "<=" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterOperator ¶
func (FilterOperator) String ¶
func (o FilterOperator) String() (result string, err error)
String generates a GraphQL string representation of the operator. It panics if used on an unknown operator.
type FilterTerm ¶
func (FilterTerm) MapFilter ¶
func (t FilterTerm) MapFilter(mapPropertyFunc func(string) string) (searchFilter *model.SearchFilter, err error)
Map a filter term to a GraphQL SearchFilter
type PropertyCluster ¶
type PropertyCluster string
func (PropertyCluster) MapProperty ¶
func (p PropertyCluster) MapProperty() string
MapProperty maps a specified O2 property name to the search API property name
type PropertyNode ¶
type PropertyNode string
func (PropertyNode) MapProperty ¶
func (p PropertyNode) MapProperty() string
MapProperty maps a specified O2 property name to the search API property name
Click to show internal directories.
Click to hide internal directories.