christkv/node-mongodb-native — Issue #506: Readme.md: find({}, fields) doesn't work
Author: craftgear
Created: 2012-02-13 01:28:30+00:00
State: open

Hi, I think the following line of Readme.md is obsolete

```
var cursor = collection.find(query, [fields], options);
```

If you assign array of fields, it returns Error :

```
[Error: Illegal sort clause, must be of the form [['field1', '(ascending|descending)'], ['field2', '(ascending|descending)']]]
```

while assigning fields in the option object works well

```
find({}, {fields: ['_id']}
```
It seems better to remove `[fields]` for clearity.

Thanks.