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)
Syntaxpublic IViewQuery Key(
Object key,
bool encode
)
public IViewQuery Key(
Object key,
bool encode
)
Public Function Key (
key As Object,
encode As Boolean
) As IViewQuery
Public Function Key (
key As Object,
encode As Boolean
) As IViewQuery
public:
virtual IViewQuery^ Key(
Object^ key,
bool encode
) sealed
public:
virtual IViewQuery^ Key(
Object^ key,
bool encode
) sealed
abstract Key :
key : Object *
encode : bool -> IViewQuery
override Key :
key : Object *
encode : bool -> IViewQuery
abstract Key :
key : Object *
encode : bool -> IViewQuery
override Key :
key : Object *
encode : bool -> IViewQuery
Parameters
- key
- Type: System.Object
The key 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.Key(Object, Boolean)
See Also