Permalink
Browse files

Merge branch 'master' into touchdb

  • Loading branch information...
2 parents 8be761e + 90e5c49 commit 40a986fbf25912c9902df779ffe00fe97a869af3 @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 <https://gist.github.com/832610>, 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 40a986f

Please sign in to comment.