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 |
Class Range.
addRange(integer|float $fromValue = null, integer|float $toValue = null, string $key = null) : $this
Add a range to this aggregation.
integer|float | $fromValue | low end of this range, exclusive (greater than or equal to) |
integer|float | $toValue | high end of this range, exclusive (less than) |
string | $key | customized key value |