Ottoman.js mutateIn equivalient

In couchbase’s NodeJs SDK we have a mutateIn method to update a document, What is equivalient in Ottoman.js ? I want to increment a field (I don’t want to use N1QL to have better performance)

await bucket.collection('users')
  .mutateIn(user_id, [couchbase.MutateInSpec.increment('counter', 1)])

Hello @socketman2016 replied back in GitHub issues for Ottoman.

1 Like