关于jugglingdb-pouchdb-adapter是一个适配器,使使用变得容易。用法初始化数据库然后定义你的模型: schema = new Schema ' pouchdb-adapter ' , dbName : ' pouchdb ' Note = schema . define ' Note ' , id : String title : String content : String creationDate : Date文件# Existence Note . exists 123 , ( err , isExist ) -> console . log isExist # Find Note . find 321 , ( err , note ) -> console . log note # Creat