codemix/oriento — pull request #12 by phpnode (2014-04-05 02:01:43+00:00)
Title: Add index support

Adds support for various operations on indices:

```js
db.index.list().then(console.log.bind(console));

db.index.get('dictionary').then(console.log.bind(console));

db.index.get('dictionary').then(function (dictionary) {
return dictionary.set('foo', '#1:2');
});

db.index.get('dictionary').then(function (dictionary) {
return dictionary.get('foo').then(console.log.bind(console));
});
```