Return only documents that match the specified key. Key must be specified as a JSON value.
Namespace: Couchbase.ViewsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
SyntaxIViewQuery Key(
Object key,
bool encode
)
IViewQuery Key(
Object key,
bool encode
)
Function Key (
key As Object,
encode As Boolean
) As IViewQuery
Function Key (
key As Object,
encode As Boolean
) As IViewQuery
IViewQuery^ Key(
Object^ key,
bool encode
)
IViewQuery^ Key(
Object^ key,
bool encode
)
abstract Key :
key : Object *
encode : bool -> IViewQuery
abstract Key :
key : Object *
encode : bool -> IViewQuery
Parameters
- key
- Type: System.Object
The key to retrieve
- encode
- Type: System.Boolean
True to JSON encode the parameter.
Return Value
Type:
IViewQueryAn IViewQuery object for chaining
See Also