Count class

$count aggregation stage

Stage description

Passes a document to the next stage that contains a count of the number of documents input to the stage.

https://docs.mongodb.com/manual/reference/operator/aggregation/count/

Inheritance

Constructors

Count(String fieldName)
Creates $count aggregation stage

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() Map<String, Object>
inherited
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