hoodiehq/hoodie-plugins-api — pull request #40 by lupomontero (2014-08-19 19:31:28+00:00)
Title: feat(database): implement index/query API

Implements:
- `db.addIndex(name, {map: .., reduce: ..}, callback)`
- `db.removeIndex(name, callback)`
- `db.query(index, options, callback)`

Implementation based on discussions:
- https://github.com/hoodiehq/hoodie-plugins-api/issues/3
- https://github.com/hoodiehq/hoodie.js/issues/70#issuecomment-20506841

Closes #3