We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d9f269b + 0e5474a commit c6b4c8bCopy full SHA for c6b4c8b
README.md
@@ -14,9 +14,10 @@ Install via NPM
14
15
```javascript
16
Model.plugin(tree, {
17
- pathSeparator : '#' // Default path separator
18
- onDelete : 'REPARENT' // Can be set to 'DELETE' or 'REPARENT'. Default: 'REPARENT'
19
- numWorkers: 5 // Number of stream workers
+ pathSeparator : '#' // Default path separator
+ onDelete : 'REPARENT' // Can be set to 'DELETE' or 'REPARENT'. Default: 'REPARENT'
+ numWorkers: 5 // Number of stream workers
20
+ idType: Schema.ObjectId // Type used for _id. Can be, for example, String generated by shortid module
21
})
22
```
23
0 commit comments