Click or drag to resize

FunctionSum Method

Creates a function that will calculate the sum 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 Sum(
	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 sum
See Also