upsert
upsert copied to clipboard
PouchDB plugin for upsert() and putIfNotExists() functions
with react.js on node.js stack "npm": "6.14.15", "node": "14.18.1" "promise": "^8.1.0", "pouchdb": "^7.2.2", "pouchdb-find": "^7.2.2", "pouchdb-upsert": "^2.2.0", "react": "^17.0.2", Bug in pouchdb-upsert/index.js This seems to be analogous to a promise.resolve...
see https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-utils/src/upsert.js Seems they are not aligned...
Using upsert plugin throw this error in Typescript TS2339: Property 'upsert' does not exist on type 'Database'. how can I solve this issue ?
I noticed that pouchdb-find got folded into the main library, why not this one too? It's very useful
## Version **3.0.0** of [uglify-js](https://github.com/mishoo/UglifyJS2) just got published. Dependency uglify-js Current Version 2.8.22 Type devDependency The version **3.0.0** is **not covered** by your **current version range**. Without accepting this pull...
## Version **4.0.0** of [mocha](https://github.com/mochajs/mocha) just got published. Dependency mocha Current Version 3.5.3 Type devDependency The version **4.0.0** is **not covered** by your **current version range**. Without accepting this pull...
## The devDependency [jshint](https://github.com/jshint/jshint) was updated from `2.10.1` to `2.10.2`. π¨ [View failing branch](https://github.com/pouchdb/upsert/compare/master...pouchdb:greenkeeper%2Fjshint-2.10.2). This version is **covered** by your **current version range** and after updating it in your project...
Use of and assumption of `this` being the database reference is resulting in inconsistent behavior. Specifically this line https://github.com/pouchdb/upsert/blob/5020aa5aa264ecc6cefac0a060819504fe88f8b7/index.js#L55 If declaring a database namespace as such: ```js const db =...
## Version **15.0.0** of [browserify](https://github.com/browserify/browserify) was just published. Dependency browserify Current Version 14.5.0 Type devDependency The version **15.0.0** is **not covered** by your **current version range**. If you donβt accept...
## Version **3.5.2** of **bluebird** was just published. Branch Build failing π¨ Dependency bluebird Current Version 3.5.1 Type devDependency This version is **covered** by your **current version range** and after...