Represents the results of a View query.
Namespace: Couchbase.ViewsAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.2.0 (2.0.2.0)
Syntax
Type Parameters
- T
- The Type parameter to be used for deserialization by the IDataMapper implementation.
The IViewResult T type exposes the following members.
Methods
Name | Description | |
---|---|---|
CannotRetry |
Returns false if the error that caused the View request to fail can result in a retry request.
|
Properties
Name | Description | |
---|---|---|
Error |
A View engine specific error message if one occured.
| |
Exception |
If Success is false and an exception has been caught internally, this field will contain the exception.
(Inherited from IResult.) | |
Message |
If the operation wasn't succesful, a message indicating why it was not succesful.
(Inherited from IResult.) | |
Rows |
The results of the query if successful as a IEnumerable T .
| |
StatusCode |
The HTTP Status Code for the request
| |
Success |
Returns true if the operation was succesful.
(Inherited from IResult.) | |
TotalRows |
The total number of rows returned by the View request.
| |
Values |
Returns the value of each element within the Rows property as a IEnumerable T .
|
See Also