codemix/oriento — pull request #96 by phpnode (2014-07-23 11:45:28+00:00)
Title: 83 transactional queries

fixes #83, adds support for transactional queries, and using the query builder in `let` statements:

```js
db
.let('admin', function (s) {
return s.select().from('OUser').where({name: 'admin'});
})
.let('reader', function (s) {
return s.select().from('OUser').where({name: 'reader'})
})
.let('someEdge', function (s) {
return s.create('edge', 'E').from('$admin').to('$reader').set({foo: 'bar'});
})
.commit(100)
.return('$someEdge')
.all()
.then(console.log.bind(console));
```