English 中文(简体)
ektorp / CouchDB 更新/同步文件夹
原标题:ektorp / CouchDB update / synchronize folder

在 jcouchdb 中,有一个 util 类 org.jcouchdb. util. CouchDB 更新器, 能够将本地文件系统的文件更新为 CouchDB( 用于将设计文件复制到 CouchDB ) 。 在 ektorp 中是否有类似的东西?

最佳回答

您有两个选项 :

  1. 使用 @View, @GenerateView,@Filter,@ShowFuction,@ListFuction 附加说明,将您的设计文档嵌入您的仓库类。相应的设计文档将在应用程序启动时自动更新。见 http://ektorp.org/reference_documentation.html#d100e753" rel=“nofollow>http://ektorp.org/reference_documentation.html#d100e753

  2. 执行 a org. ektorp. dataloadloader 。 Data Loader 允许您用任何类型的文件将 DB 绑住。 见 < a href="http://ektorp.org/reference_ documentation.html#d100e1170" relation_ documentation.html#d100e1170" rel= “no follow” >http://ektorp.org/reference_ documentation.html#d100e1170

问题回答

暂无回答




相关问题
couchdb for /really/ distributed replica

let s say i want to implement a distributed database (each node being the replica of the others); i hear that cdb is able to easily sync between two nodes and at least support some form of conflict ...

CouchDB View, Map, Index, and Sequence

I think read somewhere that when a View is requested the "map" is only run across documents that have been added since the last time it was requested? How is this determined? I thought I saw something ...

representing a many-to-many relationship in couchDB

Let s say I m writing a log analysis application. The main domain object would be a LogEntry. In addition. users of the application define a LogTopic which describes what log entries they are ...

couchDB , python and authentication

I have installed couchDB v 0.10.0, and am attempting to talk to it via python from Couch class downloaded from couchDB wiki. Problem is: Create database mydb : { error : unauthorized , reason : ...

Temp View Caching?

I m using CouchDB with a home-grown C# interface library. The most common method of accessing CouchDB with this library results in a temp view being created. I ve optimized the library so that it uses ...

热门标签