ArangoDB Weekly 33: V8 Upgrade and ArangoDB 2.6.7 Highlights
In the last two weeks we’ve fixed some issues, upgraded the bundled V8 version in ArangoDB and released the maintenance release 2.6.5 and 2.6.7 . Besides that we continued our efforts to enhance our indexing capabilities and startet further cluster tests.
ArangoDB Release
The next maintenance release for ArangoDB 2.6 is available for download. You can find a full list of changes in our change-log (2.6.7) and change-log (2.6.5).
ArangoDB related (Drivers & more)
- (Elasticsearch) elasticsearch-river-arangodb: River Plugin for ElasticSearch, now builds against ES 1.7 (Patrick Huber)
- (PHP) zend-arangodb-auth (early stage): provides auth and acl for zend framework (Cyberrebell)
- (Python) python-arango (2.0.0): API call methods for user management and monitoring (Joohwan Oh)
- (vert.x) vertx-arango-client (early stage): ArangoDB client library built with vert.x. (Craig G)
Documentation and Cookbook
- Avoiding parameter injection in AQL recipe in our cookbook by Jan Steemann
- Writing multi-line AQL queries in JavaScript By Jan Steemann
- ArangoDB 2.6.7 Manual : Updated manual with the latest changes & additions.
Questions on Stack Overflow
Answered:
- ArangoDB – How can I return only the _id from AQL TRAVERSAL?
- Is there the equivalent of mongodb’s oplog in arangodb?
- File permissions changed in build process, compilation aborts because access denied (Windows, Cygwin)
- ArangoDB – How do you refer to OLD in an upsert statement using AQB
- Arangodb pagination with AQL /_api/cursor instead of /_api/simple/all
Not answered yet:
Events
Sep. 18/19, 2015 – Berlin: distributed matters
Did you know?
Writing multi-line AQL queries in JavaScript made easy.
Instead of a string concatenation like this:
var query = "FOR doc IN collection " + "FILTER doc.value == @what " + "RETURN doc";
… you can either use the more elegant ES6 template string that is supported since ArangoDB 2.5:
var query =`FOR doc IN collection FILTER doc.value == @what RETURN doc`;
… or you use the query builder (aqb):
var qb = require("aqb");
var jobs = db.\_createStatement({
query: (
qb.for('job').in('\_jobs')
.filter(
qb('pending').eq('job.status')
.and(qb.ref('@queue').eq('job.queue'))
.and(qb.ref('@now').gte('job.delayUntil'))
)
.sort('job.delayUntil', 'ASC')
.limit('@max')
.return('job')
),
bindVars: {
queue: queue._key,
now: Date.now(),
max: queue.maxWorkers - numBusy
}
}).execute().toArray();
Some more details on advantages and compatibility you can find in our new recipe Multi-Line AQL Queries.
Get the latest tutorials, blog posts and news: