ViewQuery Keys Method (IEnumerable, Boolean)Couchbase .NET SDK 2.0
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.0.1.0 (2.0.1.0)
Syntax
public IViewQuery Keys(
	IEnumerable keys,
	bool encode
)

Parameters

keys
Type: System.Collections IEnumerable
The keys to retrieve
encode
Type: System Boolean
True to JSON encode and URI escape the value.

Return Value

Type: IViewQuery
An IViewQuery object for chaining

Implements

IViewQuery Keys(IEnumerable, Boolean)
See Also