Versions in this module Expand all Collapse all v1 v1.7.0 May 16, 2026 Changes in this version + const FilterKey + func IsComparison(op Operator) bool + func ValidateField(field string) error + type Clause struct + Field string + Operator Operator + Value Operand + type Operand struct + Field string + Kind OperandKind + Type ValueType + Value any + func ParseOperand(v any) (Operand, error) + type OperandKind int + const OperandField + const OperandLiteral + type Operator string + const OpContains + const OpEqual + const OpGreater + const OpGreaterEq + const OpIn + const OpLower + const OpLowerEq + const OpNotContains + const OpNotEqual + const OpNotIn + func ParseOperator(op string) (Operator, error) + type Query []Clause + func FromFilter(filter map[string]interface{}) (Query, bool) + func Parse(clauses [][]interface{}) (Query, error) + type ValueType string + const TypeBoolean + const TypeDefault + const TypeNumber + func InferValueType(v any) ValueType