You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/07/02 08:20:55 UTC

[GitHub] willholley commented on issue #831: Filter _changes by key to speed up replication

willholley commented on issue #831: Filter _changes by key to speed up replication
URL: https://github.com/apache/couchdb/issues/831#issuecomment-401708498
 
 
   @oliverjanik when using a mango filter for changes the entire filter is specified in the [request body](http://docs.couchdb.org/en/2.0.0/api/database/changes.html#selector) , so you can just adjust the filter as you need instead of passing custom parameters. For example:
   
   ```
   POST /mydb/_changes?filter=_selector
   {
       "selector": { "startDate": { "$gt": "2018-07-01" } }
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services