Skip to content

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jaime-ez committed Apr 9, 2021
1 parent 7614d01 commit 46910bf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [2.0.2] - 2021-04-08

### Misc

- Updating dependencies

## [2.0.1] - 2020-04-12

### Improvement
Expand All @@ -6,7 +12,7 @@
- Switching to circleci

## [2.0.0] 2019-08-07

### Feat

- Use typescript
Expand Down
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

This connector uses [the npm rethinkdb package](https://www.npmjs.com/package/rethinkdb). Please have a look there for detailed options.

**Warning**: This plugin will automatically create a table, if it doesn't exist yet. But be aware, in case you create a table manually, use "ds_id" as the primary key. Otherwise the plugin won't be able to find your records.
**Warning**: This plugin will automatically create a table, if it doesn't exist yet. But be aware, in case you create a table manually, use "ds_id" as the primary key. Otherwise the plugin won't be able to find your records.

## Configuration Options
```yaml
Expand Down Expand Up @@ -55,14 +55,17 @@ plugins:

## Basic Setup
```javascript
var Deepstream = require( 'deepstream.io' ),
RethinkDBStorageConnector = require( 'deepstream.io-storage-rethinkdb' ),
server = new Deepstream();
const { Deepstream } = require('@deepstream/server')

server.set( 'storage', new RethinkDBStorageConnector( {
port: 5672,
host: 'localhost'
}));
const server = new Deepstream({
storage: {
name: 'rethinkdb',
options: {
host: 'localhost',
port: 28015
}
},
})

server.start();
```
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@deepstream/storage-rethinkdb",
"version": "2.0.1",
"version": "2.0.2",
"description": "Connects deepstream.io to rethinkdb",
"main": "dist/src/connector.js",
"scripts": {
Expand Down

0 comments on commit 46910bf

Please sign in to comment.