Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Another View overload in IDocumentDatabase #32

Merged
merged 1 commit into from

2 participants

@NorthNick

This is a tiny change to extend IDocumentDatabase to include the View(string, ViewOptions, string) overload in CouchDatabase. I'm using this in my code so cannot currently declare my variables as IDocumentDatabase,

@soitgoes soitgoes merged commit 181c6b7 into soitgoes:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 8, 2012
  1. @NorthNick

    Added another View overload to IDocumentDatabase.

    NorthNick authored
    Useful for mocking CouchDatabase.
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 LoveSeat/Interfaces/IDocumentDatabase.cs
View
5 LoveSeat/Interfaces/IDocumentDatabase.cs
@@ -106,8 +106,9 @@ public interface IDocumentDatabase
T GetDocument<T>(Guid id);
string Show (string showName, string docId);
IListResult List(string listName, string viewName, ViewOptions options, string designDoc);
- IListResult List(string listName, string viewName, ViewOptions options);
-
+ IListResult List(string listName, string viewName, ViewOptions options);
+
+ ViewResult View(string viewName, ViewOptions options, string designDoc);
ViewResult View(string viewName, ViewOptions options);
ViewResult View(string viewName);
}
Something went wrong with that request. Please try again.