package
0.1.1
Repository: https://github.com/zaporter/go-update-mongo.git
Documentation: pkg.go.dev

# Packages

Package operators provides aggregation operators.
Package stages provides aggregation stages.

# Functions

GetPushdownQuery gets pushdown query ($match and $sort) for aggregation.
NewExpression returns Expression from dollar sign $ prefixed string.
SumNumbers accumulate numbers and returns the result of summation.

# Constants

ErrEmptyFieldPath indicates that field path expression is empty.
ErrEmptyVariable indicates that variable name is empty.
ErrInvalidExpression indicates that expression is invalid.
ErrNotExpression indicates that field is not an expression.
ErrUndefinedVariable indicates that variable name is not defined.

# Structs

Expression represents a value that needs evaluation.
ExpressionError describes an error that occurs while evaluating expression.

# Interfaces

Stage is a common interface for all aggregation stages.

# Type aliases

ExpressionErrorCode represents Expression error code.