Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
I can see the durability options in enum.js and in collection.js but setting them as suggested hereĀ https://docs.couchbase.com/nodejs-sdk/3.0/howtos/kv-operations.html :
var response=await coll.upsert('fred',{'harry':'paul','little':'large'},{durabilityLevel:couchbase.DurabilityLevel.Majority}); |
Returns
TypeError: Cannot read property 'Majority' of undefined
What am I missing? I tried prefixing DurabilityLevel with couchbase.enums as well, but to the same effect.