Click or drag to resize

FunctionCount Method

Creates a function that will count the occurrences of 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-b0713
Syntax
C#
public static IExpression Count(
	IExpression expression
)

Parameters

expression
Type: Couchbase.Lite.QueryIExpression
The expression to take data from when calculating the result

Return Value

Type: IExpression
A function that will calculate the count
See Also