Can someone guide me on this.
- Is couchbase server 6.0 is compatible with couchnode 3.0.x?
- Will couchnode 2.6.x callback code continue to work if couchnode updated to 3.0.x
Can someone guide me on this.
Hey @stuffhold,
.then()
on the promise, as well as by simply passing the callback as the last parameter to the methods (it automatically get’s registered to .then()
).Cheers, Brett
Thank you for the quick reply.
Just to confirm, our existing callback style codes such as below will continue to work with 3.0.x without any modifications, right?
Our existing callback style code samples
couch.client.query(statsQuery, queryOptions, (err, result, meta) => {
couch.client.get(memberId, (err, result) => {
Also read, Choosing an API