Compare commits

..

2 Commits

Author SHA1 Message Date
766ae1d1ff 2.0.6 2018-01-14 18:07:35 +01:00
7630882312 docs(README): update 2018-01-14 18:07:29 +01:00
3 changed files with 10 additions and 3 deletions

View File

@ -51,9 +51,16 @@ represents a Database. Naturally it has .connect() etc. methods on it.
import * as smartdata from "smartdata"; import * as smartdata from "smartdata";
let myRethinkDb1 = new smartdata.Db({ 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(); myDb1.connect();
``` ```

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "smartdata", "name": "smartdata",
"version": "2.0.5", "version": "2.0.6",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "smartdata", "name": "smartdata",
"version": "2.0.5", "version": "2.0.6",
"description": "do more with data", "description": "do more with data",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",