pouchdb / upsert

PouchDB plugin for upsert() and putIfNotExists() functions
Apache License 2.0
149 stars 25 forks source link

Id is not returned from 'update: false' response #46

Closed HauptmannEck closed 7 years ago

HauptmannEck commented 7 years ago

I see that Id is returned when update: true but it is not for update: false. Which if someone is using the returned id they will get a missing error from pouch when they return false from the delta function.

{"updated":false,"rev":"200-8513876db283183d3ca7239df9acdc79"}

I will be shortly creating a Pull Request to correct this.