Versions in this module Expand all Collapse all v1 v1.0.0 Mar 17, 2025 Changes in this version + type BinaryOperatorDescriptor struct + OpTranslator func(left, right TranslationResult) TranslationResult + TypeConstraints []BinaryOperatorTypeConstraint + func BooleanOperatorDescriptor(op string) BinaryOperatorDescriptor + func ComparisonOperatorDescriptor(op string) BinaryOperatorDescriptor + func NillableComparisonOperatorDescriptor(op, nilOp string) BinaryOperatorDescriptor + func NumericOperatorDescriptor(op string) BinaryOperatorDescriptor + func StringLikeOperatorDescriptor(prefix, suffix string) BinaryOperatorDescriptor + type BinaryOperatorTypeConstraint struct + Left ExprType + Right ExprType + type ExprType string + const ExprTypeBool + const ExprTypeBoolIdentifier + const ExprTypeFloat + const ExprTypeFloatIdentifier + const ExprTypeInt + const ExprTypeIntIdentifier + const ExprTypeJSONIdentifier + const ExprTypeNil + const ExprTypeString + const ExprTypeStringIdentifier + const ExprTypeTimestamp + const ExprTypeTimestampIdentifier + type TranslationResult struct + Expr string + Type ExprType + type UnaryOperatorDescriptor struct + OpTranslator func(nested TranslationResult) TranslationResult + TypeConstraints []ExprType + func UnaryBooleanOperatorDescriptor(op string) UnaryOperatorDescriptor + func UnaryNumericOperatorDescriptor(op string) UnaryOperatorDescriptor