Quantcast
Viewing all articles
Browse latest Browse all 76418

Which class and proper parameter syntax for connecting to Couchbase remote server

I am trying to establish the proper class usage and parameter syntax for connecting to a couchbase cloud instance.

For E.G. To instantiate and connect to a local connection to a Mongodb the syntax is "MongoCLient client = new MongoClient();".
And then to connect to a remote Mongodb instance (e.g. Mongolab). The syntax is "MongoClient client = new MongoClient("mongodb://usernamehere:passwordhere@ds012345.mongolab.com:12345/nameofdatabasehere);"
{numbers are not real}

So when using Couchbase lite I am trying to figure out the proper class usage and also proper parameter syntax to establish a connection to a cloud instance like Amazon or Azure.


Viewing all articles
Browse latest Browse all 76418

Trending Articles