Read from replica

How can I read from replica in nodejs SDK?

Hey @socketman2016,

You can fetch from a replica by using the getReplica method. You can find more information about it in our documentation available here: http://docs.couchbase.com/sdk-api/couchbase-node-client-2.6.0/Bucket.html#getReplica__anchor .

Cheers, Brett

1 Like