Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add SaveDocuments to IDocumentDatabase #33

Merged
merged 1 commit into from

2 participants

@NorthNick

Sorry - I missed this one when adding the View overload the other day. I'm finding the bulk document API very useful for large-scale deletions by the way: orders of magnitude faster than individual deletes.

@soitgoes soitgoes merged commit bf11c83 into soitgoes:master
@soitgoes
Owner

Thanks for your continued support. I really appreciate all your work on this lately

@NorthNick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 9, 2012
  1. @NorthNick
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  LoveSeat/Interfaces/IDocumentDatabase.cs
View
3  LoveSeat/Interfaces/IDocumentDatabase.cs
@@ -58,7 +58,8 @@ public interface IDocumentDatabase
Stream GetAttachmentStream(string docId, string attachmentName);
CouchResponse DeleteAttachment(string id, string rev, string attachmentName);
CouchResponse DeleteAttachment(string id, string attachmentName);
- CouchResponse SaveDocument(Document document);
+ CouchResponse SaveDocument(Document document);
+ BulkDocumentResponses SaveDocuments(Documents docs, bool all_or_nothing);
/// <summary>
/// Gets the results of a view with no view parameters. Use the overload to pass parameters
Something went wrong with that request. Please try again.