Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

NCBC-218: Add CheckExists to IView interface

Change-Id: I2048806d3ac410c4cda237aa7354097716f90065
Tested-by: Saakshi Manocha <>
Reviewed-by: Saakshi Manocha <>
  • Loading branch information...
1 parent 5ba5287 commit 2cae463ccaed8aec78a3d6f4d941773a4e04f415 @johnzablocki johnzablocki committed with saakshimanocha
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Couchbase/ICouchbaseView`1.cs
6 src/Couchbase/ICouchbaseView`1.cs
@@ -138,6 +138,12 @@ public interface IView<T> : IEnumerable<T>
/// <param name="debug">A value that specifies whether to include debug info.</param>
/// <returns>A new <see cref="T:Couchbase.IView"/> that can be used to retrieve the items, including debug info.</returns>
IView<T> Debug(bool debug);
+ /// <summary>
+ /// Will execute an HTTP query to check the design document for the existence of a view
+ /// </summary>
+ /// <returns>True if design doc is found</returns>
+ bool CheckExists();

0 comments on commit 2cae463

Please sign in to comment.
Something went wrong with that request. Please try again.