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.ViewsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic IViewQuery Keys(
IEnumerable keys,
bool encode
)
public IViewQuery Keys(
IEnumerable keys,
bool encode
)
Public Function Keys (
keys As IEnumerable,
encode As Boolean
) As IViewQuery
Public Function Keys (
keys As IEnumerable,
encode As Boolean
) As IViewQuery
public:
virtual IViewQuery^ Keys(
IEnumerable^ keys,
bool encode
) sealed
public:
virtual IViewQuery^ Keys(
IEnumerable^ keys,
bool encode
) sealed
abstract Keys :
keys : IEnumerable *
encode : bool -> IViewQuery
override Keys :
keys : IEnumerable *
encode : bool -> IViewQuery
abstract Keys :
keys : IEnumerable *
encode : bool -> IViewQuery
override Keys :
keys : IEnumerable *
encode : bool -> IViewQuery
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:
IViewQueryAn IViewQuery object for chaining
Implements
IViewQuery.Keys(IEnumerable, Boolean)
See Also