__construct() __construct(string $name, string $field) Parameters string $name the name of this aggregation string $field the field on which to perform this aggregation
setField() setField(string $field) : $this Set the field for this aggregation. Parameters string $field the name of the document field on which to perform this aggregation Returns $this