From 14d842fc162802a861c2d3b687b455f4ab55b404 Mon Sep 17 00:00:00 2001 From: Louis Chatriot Date: Sun, 26 Jan 2014 14:00:05 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 29f5973..8c5307e 100644 --- a/README.md +++ b/README.md @@ -307,7 +307,7 @@ db.find({ $or: [{ planet: 'Earth' }, { planet: 'Mars' }], inhabited: true }, fun ``` #### Sorting and paginating -If you don't specify a callback to `find`, `findOne` or `skip`, a `Cursor` object is returned. You can modify the cursor with `sort`, `skip` and `limit` and then execute it with `exec(callback)`. +If you don't specify a callback to `find`, `findOne` or `count`, a `Cursor` object is returned. You can modify the cursor with `sort`, `skip` and `limit` and then execute it with `exec(callback)`. ```javascript // Let's say the database contains these 4 documents