Closed nolanlawson closed 10 years ago
According to the docs, if I do
pouch.save({count: 0}).
Then it should return a promise that tells me what the $id is, but in fact it just gives me the standard couchdb output:
{ ok: true, id: '8DC5C9CF-B8D5-50B7-9384-1B92DEC5CFF3', rev: '1-a907fb1bbc047764750ecab5e11a0673' }
This is fine, since I can see the $id anyway when I do all(), but you might want to update the docs.
all()
I'm using an http PouchDB (new PouchDB('http://localhost:5984/foo')).
new PouchDB('http://localhost:5984/foo')
:thumbsup:
According to the docs, if I do
Then it should return a promise that tells me what the $id is, but in fact it just gives me the standard couchdb output:
This is fine, since I can see the $id anyway when I do
all()
, but you might want to update the docs.I'm using an http PouchDB (
new PouchDB('http://localhost:5984/foo')
).