Skip to content

Commit 77f047e

Browse files
committed
update README.md
1 parent f245be5 commit 77f047e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ MyModel.paginate({}, 2, 10, function(error, pageCount, paginatedResults, itemCou
5959
console.log('Pages:', pageCount);
6060
console.log(paginatedResults);
6161
}
62-
}, { columns: 'title', populate: 'some_ref', sortBy : { title : -1 });
62+
}, { columns: 'title', populate: {path: 'some_ref', select: 'some fields'}, sortBy : { title : -1 });
6363

6464
```
6565

0 commit comments

Comments
 (0)