Click or drag to resize

IBucketViewQueryAsyncTKey, TValue Method

Execute a view query.

Namespace:  Couchbase
Assembly:  Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 3.0.0-local-202004010202+047adc0837bfc29c0b8cce4322194a09afd8ea18
Syntax
C#
Task<IViewResult<TKey, TValue>> ViewQueryAsync<TKey, TValue>(
	string designDocument,
	string viewName,
	ViewOptions options = null
)

Parameters

designDocument
Type: SystemString
Design document name.
viewName
Type: SystemString
View name.
options (Optional)
Type: Couchbase.ViewsViewOptions
controlling query execution.

Type Parameters

TKey
Type of the key for each result row.
TValue
Type of the value for each result row.

Return Value

Type: TaskIViewResultTKey, TValue
An .
See Also