Skip to navigation
Update a pouchdb doc
19.04.22
var db = sync_db("settings"); db.get('price_tool').then(function(doc) { new_doc['_rev'] = doc._rev; return db.put(new_doc); }).then(function(response) { // handle response }).catch(function (err) { console.log(err); });
https://pouchdb.com/api.html#create_document
Reply
Anonymous
Information Epoch 1714071136
Development is an iterative process.
Home
Notebook
Contact us