diff --git a/README.md b/README.md index dd0e3fd..ca0a4d1 100644 --- a/README.md +++ b/README.md @@ -284,7 +284,7 @@ db.remove({ system: 'solar' }, { multi: true }, function (err, numRemoved) { ``` ### Indexing -NeDB supports indexing. It gives a very nice speed boost and can be used to enforce a unique constraint on a field. You can index any field, including fields in nested documents using the dot notation. For now, indexes are only used for value equality, but I am planning on adding value comparison soon. +NeDB supports indexing. It gives a very nice speed boost and can be used to enforce a unique constraint on a field. You can index any field, including fields in nested documents using the dot notation. For now, indexes are only used to speed up basic and $in queries, but I am planning on adding value comparison soon. To create an index, use `datastore.ensureIndex(options, cb)`, where callback is optional and get passed an error if any. The options are: