Versions in this module Expand all Collapse all v0 v0.0.2 May 3, 2021 v0.0.1 May 3, 2021 Changes in this version + var MatchAll = &matchall + var MatchNone = NotFilter(MatchAll) + var MaxDepth = 1000 + func DayBucket(dt time.Time) int + func Exists(field *gentypes.FieldType) interface + func In(field *gentypes.FieldType, values []interface{}) interface + func Nested(field *gentypes.FieldType, filter interface{}) *nested + func Term(fieldName string, value interface{}) *term + func Wildcard(field, value string) *wildcard + type BoolFilter struct + MinShouldMatch int + Occurs BoolOccurrence + func AndFilter(v []interface{}) *BoolFilter + func NotFilter(v interface{}) *BoolFilter + func OrFilter(v []interface{}) *BoolFilter + type BoolOccurrence struct + Filter []interface{} + MustNot interface{} + Should []interface{} + type FilterGenerator struct + func NewGenerator(ts time.Time, inc expr.Includer, s gentypes.SchemaColumns) *FilterGenerator + func (fg *FilterGenerator) Walk(stmt *rel.FilterStatement) (*gentypes.Payload, error) + type NestedQuery struct + Path string + Query interface{} + type RangeFilter struct + Range map[string]RangeQry + type RangeQry struct + GT interface{} + GTE interface{} + LT interface{} + LTE interface{} + type TypeValidator struct + func NewValidator(s gentypes.SchemaColumns) *TypeValidator + func (m *TypeValidator) FilterValidate(stmt *rel.FilterStatement) error