Diffing Two Documents in AQL: ArangoDB Data Comparison

I just stumbled upon a comment in the ArangoDB blog asking how to create a diff of two documents with AQL. Though there is no built-in AQL function to diff two documents, it is easily possible to build your own like in the following query. Read more on how to diff two documents in AQL.

Read More...

ArangoDB 2.6 API Changes: Updates & Enhancements

ArangoDB 2.6 comes with new and changed APIs as well as changed behavior regarding document keys and several graph functions. If you use Travis-CI for your tests you can download the Travis-CI ArangoDB build here: Travis-CI/ArangoDB-2.6.0-alpha2.tar.gz The changes so far: APIs added added batch document removal and lookup APIs: These APIs can be used to…

Read More...

ArangoDB 2.6 Alpha2: Testing New Features & Performance

Our next major release ArangoDB 2.6 is on the finishing straight with an early alpha2 version for Linux released today. UPDATE: New alpha3 release available. We put great efforts in speeding-up core ArangoDB functionality to make AQL queries perform much better than in earlier versions of ArangoDB. The queries that improved most in 2.6 over…

Read More...

Arango Weekly 23: New Release 2.5.4 & Technical Preview 2.6

In the last days we prepared everything for the first technical preview of ArangoDB 2.6, testing new and improved functionality and adding some small last minute features like the AQL explain command in the Web UI. We are proud of the new release and can’t wait to give it in your hands. Stay tuned, follow…

Read More...

AQL Explain Web Interface: ArangoDB Query Optimization

For developers that use the ArangoDB shell arangosh the explain() command and its compact output format is a great resource to check AQL queries. Explain prints the original query, the generated query execution plan, the applied optimizer rules plus the list of indexes that will be used. Jan showed in a blog post how this…

Read More...

Improved System User Authentication: ArangoDB Security Upgrade

ArangoDB can easily be configured to require HTTP authentication for access to the web admin frontend or the REST API. But while Basic Auth works fine for APIs, the user experience in the web admin frontend was decidedly sub-par: browsers would often persist the authentication credentials indefinitely, logging out was made difficult or impossible and…

Read More...

ArangoDB 2.5.4 Release: Improved Features & Stability

This version is deprecated. Download the new version of ArangoDB ArangoDB 2.5.4 – a maintenance release for the 2.5 branch is available from arangodb.com/download now. This release fixes some cluster issues, fixes recursive copy under windows and adds a new startup option –log.performance: specifying this option at startup will log performance-related info messages, mainly timings…

Read More...

Foxx Dependencies: Composing More Flexible Foxx Apps

Previously on the ArangoDB blog we saw how we can use the configuration field in manifest.json to make Foxx apps configurable and more re-usable. This is all well and good if we just want to pass in simple values to a Foxx app but sometimes you want to pass in entire Foxx apps. This is…

Read More...

LoopBack Connector for ArangoDB: Seamless Integration

ArangoDB can be used as a backend data source for APIs that you compose with the popular open-source LoopBack Node.js framework. In a recent blog article on StrongLoop, Nicholas Duffy explains how to use his new loopback-connector-arango connector to access ArangoDB: Getting Started with the Node.js LoopBack Connector for ArangoDB The tutorial uses the loopback-connector-arango…

Read More...

ArangoDB JavaScript Driver 3.7: Promises & Performance

ArangoJS, the official ArangoDB JavaScript client, has been updated to version 3.7.0. The new release features significant performance improvements in Node.js and io.js. The dependency on the third-party request module has been replaced with a thin wrapper around node’s own http module, bringing a 3-4x performance improvement for consecutive requests by maintaining a connection pool….

Read More...