From 51a97bc213296134eea25aeb53cd47a065467645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Litfin?= Date: Tue, 10 Mar 2020 23:57:05 +0100 Subject: [PATCH] Fixed typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f5bb0a..cacb3c5 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ const conn = await r.connect(options); The options for standard connections is described [here](https://nodejs.org/dist/latest-v10.x/docs/api/net.html#net_net_createconnection_options_connectlistener). If you want an SSL/TLS, add `tls: true` and the options described [here](https://nodejs.org/dist/latest-v10.x/docs/api/tls.html#tls_tls_connect_options_callback) and -- Importing property instead of entire library: `const {r} = require('rethinkdbts')` or `import {r} from 'rethinkdbts'` instead of `const r = require('rethinkdbdash')(options)` +- Importing property instead of entire library: `const {r} = require('rethinkdb-ts')` or `import {r} from 'rethinkdb-ts'` instead of `const r = require('rethinkdbdash')(options)` - No top level initialization, initializing a pool is done by `await r.connectPool()` - No `{ cursor: true }` option, for getting a cursor use `.getCursor(runOptions)` instead of `.run(runOptions)` - `.run()` will coerce streams to array by default feeds will return a cursor like rethinkdbdash