Missing Do method for bucket - Go SDK

Missing Do method on when performing the bucket.Do() for bulk ops
Is the Do() is deprecated, if yes, how to execute the bulk operations? Are there any other methods. Could share the reference documentation for the latest Go SDK



Hi @rkunhi I think that you want to use the bulk API with gocb v2? The Do function has moved to the Collection level, see https://docs.couchbase.com/go-sdk/current/howtos/concurrent-async-apis.html#bulk-operations-api for more information. The full example from that doc is at https://github.com/couchbaselabs/sdk-examples/blob/master/go/concurrent-batch.go

Thank you so much for quick response.