我有一幅废墟/库,有大量数据。 我只想进口一些东西(在我的奇克勒世界上,我叫它 d,但在这里只谈一些看法),以便将其存放在法典存放处。 在创造新的空洞环境时,我需要避免复制大量*.couch文档。
What is the best strategy to do this? The only way which coming to my mind is:
- Curl curl -X GET "$COUCH/dbname/_design/ViewName"
- Store functions map and reduce functions somewhere in .js files
- When setting up new environment - add them to empty databases again via curl.
But that s plenty of manual job, I believe that there should be some common way to do this.