IViewQuery MethodsCouchbase .NET SDK 2.0

The IViewQuery type exposes the following members.

Methods
  NameDescription
Public methodAsc
Return the documents in ascending by key order
Public methodBaseUri
Sets the base uri for the query if it's not set in the constructor.
Public methodBucket
Sets the name of the Couchbase Bucket.
Public methodConnectionTimeout
The number of seconds before the request will be terminated if it has not completed.
Public methodDesc
Return the documents in descending by key order
Public methodDesignDoc
Sets the name of the design document.
Public methodDevelopment
Toggles the query between development or production dataset and View.
Public methodEndKey(Object)
Stop returning records when the specified key is reached. Key must be specified as a JSON value.
Public methodEndKey(Object, Boolean)
Stop returning records when the specified key is reached. Key must be specified as a JSON value.
Public methodEndKeyDocId
Stop returning records when the specified document ID is reached
Public methodFrom
Specifies the bucket and design document to target for a query.
Public methodFullSet
Use the full cluster data set (development views only).
Public methodGroup
Group the results using the reduce function to a group or single row
Public methodGroupLevel
Specify the group level to be used
Public methodInclusiveEnd
Specifies whether the specified end key should be included in the result
Public methodKey(Object)
Return only documents that match the specified key. Key must be specified as a JSON value.
Public methodKey(Object, Boolean)
Return only documents that match the specified key. Key must be specified as a JSON value.
Public methodKeys(IEnumerable)
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.
Public methodKeys(IEnumerable, Boolean)
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.
Public methodLimit
Limit the number of the returned documents to the specified number
Public methodOnError
Sets the response in the event of an error
Public methodRawUri
Returns the raw REST URI which can be executed in a browser or using curl.
Public methodReduce
Use the reduction function
Public methodSkip
Skip this number of records before starting to return the results
Public methodStale
Allow the results from a stale view to be used. The default is StaleState.Ok; for development work set to StaleState.False
Public methodStartKey(Object)
Return records with a value equal to or greater than the specified key. Key must be specified as a JSON value.
Public methodStartKey(Object, Boolean)
Return records with a value equal to or greater than the specified key. Key must be specified as a JSON value.
Public methodStartKeyDocId
Return records starting with the specified document ID.
Public methodView
Sets the name of the view to query.
Top
See Also