How to replicate design documents only?

前端 未结 3 2025
清歌不尽
清歌不尽 2021-02-04 07:29

So I want to replicate some changes I made to my design files from dev to production (a.k.a. I want to deploy something).

I\'m somehow confused since my research did no

3条回答
  •  一生所求
    2021-02-04 08:24

    You can specify the document IDs to replicate, without having to write a filter. Post the replication document (or command) like so:

    { "source": "my_db"
    , "target": "http://target:5984/target_db"
    , "doc_ids": [ "_design/my_ddoc" ]
    }
    

提交回复
热议问题