pouchdb-doc-api 用于文档绑定API的PouchDB插件 用法 var db = new PouchDB ( 'mydb' ) var docId = 'mydocid' // can be any valid do id var api = db . doc ( docId ) // creates or replaces existing document with _id: mydocid api . set ( { foo : 'bar' } ) . then ( ( ) => { // loads document with _id: mydocid retu