Skip to content

Commit e006105

Browse files
committedJul 4, 2022
Typo fixes.
1 parent 8f0bc8c commit e006105

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -361,14 +361,14 @@ Model.paginate({}, options, function (err, result) {
361361
});
362362
```
363363

364-
### Pagination for sub documents
364+
### Pagination for Sub-Documents
365365

366366
If you want to paginate your sub-documents, here is the method you can use.
367367

368368
```js
369-
var query = { name: 'John' }
369+
var query = { name: 'John' };
370370
var option = {
371-
select: 'name follower'
371+
select: 'name follower',
372372
pagingOptions: {
373373
// your populate option
374374
populate: {

0 commit comments

Comments
 (0)
Please sign in to comment.