Click or drag to resize

ReduceDelegate Delegate

A delegate that can be invoked to summarize the results of a View.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public delegate Object ReduceDelegate(
	IEnumerable<Object> keys,
	IEnumerable<Object> values,
	bool rereduce
)

Parameters

keys
Type: System.Collections.GenericIEnumerableObject
A list of keys to be reduced, or null if this is a rereduce.
values
Type: System.Collections.GenericIEnumerableObject
A parallel array of values to be reduced, corresponding 1-to-1 with the keys.
rereduce
Type: SystemBoolean
true if the input values are the results of previous reductions, otherwise false.

Return Value

Type: Object
See Also