pouchdb / upsert

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

rev id ? #8

Closed chrisschaub closed 8 years ago

chrisschaub commented 9 years ago

I'm loading / refreshing data from an external source in my app. I have stable doc id's. If I build a var with doc fields and have the doc id, do i need the rev id for upsert to work? Or does it assume latest revision?

Thanks!

nolanlawson commented 9 years ago

It assumes latest revision, yes.