rethinkdb / rethinkdb-ts

RethinkDB TypeScript driver
Apache License 2.0
122 stars 17 forks source link

rethinkdb-ts

npm node deps licenses downloads size build

Install

npm i rethinkdb-ts

or

yarn add rethinkdb-ts

Import

// if you support import
import { r } from 'rethinkdb-ts';
// if you dont
const { r } = require('rethinkdb-ts');

Initialize

// in an async context
// if you want to initialize a connection pool
await r.connectPool(options);
// if you want to initialize a single connection
const conn = await r.connect(options);

STATUS:

CHANGES FROM RETHINKDBDASH

If you want an SSL/TLS, add tls: true and the options described here and

NEW FEATURES

DROPPING SUPPORT: