diff --git a/README.md b/README.md index f2bf4e2..7a17fc7 100644 --- a/README.md +++ b/README.md @@ -51,9 +51,16 @@ represents a Database. Naturally it has .connect() etc. methods on it. import * as smartdata from "smartdata"; let myRethinkDb1 = new smartdata.Db({ - // rethinkDb connection options here + db: "test", + host: "https://some", + user: "testuser", + password: "testpass", + port: 1234 }); +// in case you need to support a proprietory ssl cert (e.g. compose.com): +myRethinkDb1.setSsl(process.env.RDB_CERT, "base64"); + myDb1.connect(); ```