Skip to content

Commit c6b4c8b

Browse files
committed
Merge branch 'hotfix/docu_fix'
2 parents d9f269b + 0e5474a commit c6b4c8b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ Install via NPM
1414

1515
```javascript
1616
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
17+
pathSeparator : '#' // Default path separator
18+
onDelete : 'REPARENT' // Can be set to 'DELETE' or 'REPARENT'. Default: 'REPARENT'
19+
numWorkers: 5 // Number of stream workers
20+
idType: Schema.ObjectId // Type used for _id. Can be, for example, String generated by shortid module
2021
})
2122
```
2223

0 commit comments

Comments
 (0)