clusterTime constant

Var const clusterTime

Current timestamp value.

clusterTime is only available on replica sets and sharded clusters. clusterTime has the same value for all members of the deployment and remains the same throughout all stages of the pipeline.

Implementation

static const clusterTime = Var('CLUSTER_TIME');