Hi,
Is there a way by which we can dynamically update the partial fields in an already existing document. I saw mutateIn query but that only updates single key-value pair. N1ql will not solve the purpose because the fields will be dynamic.
As seen below the query updates only ‘fax’ field.
bucket
.mutateIn(‘customer123’)
.upsert(‘fax’, ‘311-555-0151’)
.execute(function(err, res) {
// …
});
Thanks in advance