Skip to content

Commit

Permalink
Merge pull request #48 from anli-xsigns/patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
ronzeidman authored Mar 11, 2020
2 parents 82b1915 + 51a97bc commit 12fa163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 12fa163

Please sign in to comment.