Browse files

Merge pull request #8 from dlvenable/master

Support replication's doc_ids property
  • Loading branch information...
2 parents a3f8e0a + fa96c75 commit 90e5c49d3b014d805814f0fa09c47fd3e98464bf @snej snej committed Jan 20, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 Couch/CouchPersistentReplication.h
  2. +1 −1 Couch/CouchPersistentReplication.m
@@ -52,6 +52,9 @@ typedef enum {
Should be a JSON-compatible dictionary. */
@property (copy) NSDictionary* query_params;
+/** Sets the documents to specify as part of the replication. */
+@property (copy) NSArray *doc_ids;
/** Sets the "user_ctx" property of the replication, which identifies what privileges it will run with when accessing the local server. To replicate design documents, this should be set to a value with "_admin" in the list of roles.
The server will not let you specify privileges you don't have, so the request to create the replication must be made with credentials that match what you're setting here, unless the server is in no-authentication "admin party" mode.
See <>, section 8, for details.
@@ -26,7 +26,7 @@ - (void) setStatusString: (NSString*)status;
@implementation CouchPersistentReplication
-@dynamic source, target, create_target, continuous, filter, query_params;
+@dynamic source, target, create_target, continuous, filter, query_params, doc_ids;
@synthesize state=_state, completed=_completed, total=_total;

0 comments on commit 90e5c49

Please sign in to comment.