Versions in this module Expand all Collapse all v0 v0.1.1 Feb 11, 2024 Changes in this version + func GetPushdownQuery(stagesDocs []any) (match *types.Document, sort *types.Document) + func SumNumbers(vs ...any) any + type Expression struct + func NewExpression(expression string, opts *commonpath.FindValuesOpts) (*Expression, error) + func (e *Expression) Evaluate(doc *types.Document) (any, error) + func (e *Expression) GetExpressionSuffix() string + type ExpressionError struct + func (e *ExpressionError) Code() ExpressionErrorCode + func (e *ExpressionError) Error() string + func (e *ExpressionError) Name() string + type ExpressionErrorCode int + const ErrEmptyFieldPath + const ErrEmptyVariable + const ErrInvalidExpression + const ErrNotExpression + const ErrUndefinedVariable + func (i ExpressionErrorCode) String() string + type Stage interface + Process func(ctx context.Context, iter types.DocumentsIterator, ...) (types.DocumentsIterator, error) v0.1.0 Feb 11, 2024