Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lependu committed Nov 9, 2018
1 parent 6b3ddf6 commit 9eeb7b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ $ npm i --save fastify-mongojs
## Reference
name | type | required | default
-----| :------: | :----------: |---------
**`name`** | `{String}` | :x: | `'mongo'`
**`url`** | `{String}` | :heavy_check_mark: |
**`collections`** | `{Array}` | :x: | `[]`
**`name`** | `{String}` | [ ] | `'mongo'`
**`url`** | `{String}` | [x] |
**`collections`** | `{Array}` | [ ] | `[]`

The only plugin specific option is `name` which makes possible to share multiple connection pools across the server instance.
The `url` and `collections` options will be passed to mongojs separately, all other options will be passed to the mongojs instance as well.
Expand Down

0 comments on commit 9eeb7b5

Please sign in to comment.