IViewQuery Keys Method (IEnumerable, Boolean)Couchbase .NET SDK 2.1.0 Documentation
Return only documents that match each of keys specified within the given array. Key must be specified as a JSON value. Sorting is not applied when using this option.

Namespace: Couchbase.Views
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax
IViewQuery Keys(
	IEnumerable keys,
	bool encode
)

Parameters

keys
Type: System.Collections IEnumerable
The keys to retrieve
encode
Type: System Boolean
True to JSON encode the parameter.

Return Value

Type: IViewQuery
An IViewQuery object for chaining
See Also