jugglingdb-pouchdb-adapter:PouchDB 数据库的适配器

时间:2024-07-25 19:36:56
【文件属性】:

文件名称:jugglingdb-pouchdb-adapter:PouchDB 数据库的适配器

文件大小:13KB

文件格式:ZIP

更新时间:2024-07-25 19:36:56

CoffeeScript

关于 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


【文件预览】:
jugglingdb-pouchdb-adapter-master
----.gitignore(23B)
----package.json(1KB)
----src()
--------pouchdb.coffee(16KB)
----.travis.yml(521B)
----coffeelint.json(67B)
----Cakefile(1KB)
----test.png(2KB)
----LICENSE(1KB)
----README.md(3KB)
----test-get.png(0B)
----tests.coffee(15KB)
----.npmignore(25B)

网友评论