Click or drag to resize

FunctionAvg Method

Creates a function that will calculate the average of the expression in question across the results in a particular query

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
public static IFunction Avg(
	Object expression
)

Parameters

expression
Type: SystemObject
The expression to take data from when calculating the result

Return Value

Type: IFunction
A function that will calculate the average
See Also