Update README.md

pull/2/head
Louis Chatriot 11 years ago
parent 8b55275943
commit 08aa7b0174
  1. 2
      README.md

@ -245,7 +245,7 @@ db.find({ $or: [{ planet: 'Earth' }, { planet: 'Mars' }], inhabited: true }, fun
``` ```
### Counting documents ### Counting documents
With the same syntax as `find`, you can count the number of matching documents by using `count`. For example: You can use `count` to count documents. It has the same syntax as `find`. For example:
```javascript ```javascript
// Count all planets in the solar system // Count all planets in the solar system

Loading…
Cancel
Save