![]() Later, they changed the name to ArangoDB. They originally called the database system “A Versatile Object Container", or AVOC for short, leading them to call the database AvocadoDB. was founded in 2015 by Claudius Weinberger and Frank Celler. ArangoDB is a NoSQL database system but AQL is similar in many ways to SQL. ![]() AQL is mainly a declarative language and allows the combination of different data access patterns in a single query. ArangoDB is a multi-model database system since it supports three data models (graphs, JSON documents, key/value) with one database core and a unified query language AQL (ArangoDB Query Language). LET target_users = (įOR v IN 1.1 OUTBOUND follows RETURN v._idįOR vertices, edges, paths in 1.Multi-model database, Graph database, Document-oriented database, Key/Value database, Full-text Search EngineĪrangoDB is a free and open-source native graph database system developed by ArangoDB Inc. Here is another more compact version of the query that takes a param, the _id of the user that is 'you'. The first edge in paths.edges is the review that the user made of the place The last vertex in paths.vertices is the end of the path, e.g. The first vertex in paths.vertices is the starting vertex ( users/6327) Merged_reviews: UNION(my_reviews, reviews_of_who_i_follow) Reviews_of_who_i_follow: reviews_of_who_i_follow, LET my_reviews = (įOR vertices, edges, paths IN 1.1 OUTBOUND "users/6327" reviewsįOR v IN 1.1 OUTBOUND "users/6327" followsįOR vertices, edges, paths in 1.1 OUTBOUND users._id reviews Note: When providing an id on each record I used the id of the review, because if you know that id you can fetch the edge document and get the id of both the user and the place as well as read all the data about the review.
0 Comments
Leave a Reply. |