Var class

Aggregation expression's variable

Var can be used to insert user defined an system variables in aggregation expressions

Inheritance

Constructors

Var(String name)
Creates a variable expression
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

clusterTime → const Var
Current timestamp value.
current → const Var
The start of the field path being processed in the aggregation pipeline stage.
discend → const Var
One of the allowed results of a $redact expression.
keep → const Var
One of the allowed results of a $redact expression.
now → const Var
Current datetime value.
prune → const Var
One of the allowed results of a $redact expression.
remove → const Var
A variable which evaluates to the missing value.
root → const Var
The root document.