Class Avg
Average of the values of the requested field. * Only numeric values will be aggregated. All non-numeric values
including NULL
are skipped. * If the aggregated values contain NaN
, returns NaN
. Infinity math follows
IEEE-754 standards. * If the aggregated value set is empty, returns NULL
. * Always returns the result as a
double.
Implements
Inherited Members
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class Avg : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Field
The field to aggregate on.
Declaration
[JsonProperty("field")]
public virtual FieldReference Field { get; set; }
Property Value
Type | Description |
---|---|
FieldReference |