Versions in this module Expand all Collapse all v0 v0.1.1 May 26, 2019 Changes in this version + func RegisterMultipleOperators(operators ...*Operator) error + func RegisterOperator(o *Operator) error + type FilterField filters.FilterField + func NewFilter(field *mapping.StructField, op *Operator, values ...interface{}) (f *FilterField) + func NewRelationshipFilter(relation *mapping.StructField, relFilters ...*FilterField) *FilterField + func NewStringFilter(c *controller.Controller, filter string, schemaName string, ...) (*FilterField, error) + func (f *FilterField) FormatQuery(q ...url.Values) url.Values + func (f *FilterField) NestedFilters() []*FilterField + func (f *FilterField) StructField() *mapping.StructField + func (f *FilterField) Values() (values []*OperatorValuePair) + type Operator filters.Operator + var OpContains *Operator = (*Operator)(filters.OpContains) + var OpEndsWith *Operator = (*Operator)(filters.OpEndsWith) + var OpEqual *Operator = (*Operator)(filters.OpEqual) + var OpExists *Operator = (*Operator)(filters.OpExists) + var OpGreaterEqual *Operator = (*Operator)(filters.OpGreaterEqual) + var OpGreaterThan *Operator = (*Operator)(filters.OpGreaterThan) + var OpIn *Operator = (*Operator)(filters.OpIn) + var OpIsNull *Operator = (*Operator)(filters.OpIsNull) + var OpLessEqual *Operator = (*Operator)(filters.OpLessEqual) + var OpLessThan *Operator = (*Operator)(filters.OpLessThan) + var OpNotEqual *Operator = (*Operator)(filters.OpNotEqual) + var OpNotExists *Operator = (*Operator)(filters.OpNotExists) + var OpNotIn *Operator = (*Operator)(filters.OpNotIn) + var OpNotNull *Operator = (*Operator)(filters.OpNotNull) + var OpStartsWith *Operator = (*Operator)(filters.OpStartsWith) + func NewOperator(queryRaw, name string) *Operator + func (o *Operator) IsStandard() bool + type OperatorContainer struct + func NewContainer() *OperatorContainer + func (c *OperatorContainer) Get(raw string) (*Operator, bool) + func (c *OperatorContainer) Register(raw, name string) (*Operator, error) + type OperatorValuePair filters.OpValuePair + func (o *OperatorValuePair) Operator() *Operator + func (o *OperatorValuePair) SetOperator(op *Operator) + type QueryValuer interface + QueryValue func(sField *mapping.StructField) string