Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

NCBC-218: Add CheckExists to IView interface

Change-Id: I2048806d3ac410c4cda237aa7354097716f90065
Reviewed-on: http://review.couchbase.org/24387
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
  • Loading branch information...
commit 2cae463ccaed8aec78a3d6f4d941773a4e04f415 1 parent 5ba5287
@johnzablocki johnzablocki authored saakshimanocha committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/Couchbase/ICouchbaseView`1.cs
View
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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.