current constant

Var const current

The start of the field path being processed in the aggregation pipeline stage.

Unless documented otherwise, all stages start with curren the same as root. Current is modifiable. However, since $

Implementation

static const current = Var('CURRENT');