Questions tagged [arangodb]

ArangoDB is a multi-model NoSQL database with a flexible data model for documents, graphs, and key-values collections.

ArangoDB is a multi-model NoSQL database with a flexible data model for documents, graphs, and key-values collections. It targets high-performance applications using a convenient declarative query language AQL and JavaScript extensions.

Useful links

Articles


Related tags :

1967 questions
11
votes
1 answer

What does building an application in Arango Foxx offer beyond a regular node application

I'm learning more about ArangoDB and it's Foxx framework. But it's not clear to me what I gain by using that framework over building my own stand alone nodejs app for API/access control, logic, etc. What does Foxx offer that a regular nodejs app…
Yehosef
  • 17,987
  • 7
  • 35
  • 56
11
votes
1 answer

When should I use AQL?

In the context of ArangoDB, there are different database shells to query data: arangosh: The JavaScript based console AQL: Arangodb Query Language, see http://www.arangodb.org/2012/06/20/querying-a-nosql-database-the-elegant-way MRuby: Embedded…
poseid
  • 6,986
  • 10
  • 48
  • 78
10
votes
2 answers

ArangoDB AQL: Update single object in embedded array

I am trying to update the attribute on a json document in an embedded array using AQL. How do i update the "addressline" for "home" type address using AQL below? User: { name: "test", address: [ {"addressline": "1234 superway", type:"home"},…
Anjan Rao
  • 135
  • 1
  • 4
10
votes
2 answers

Filter on array value in ArangoDB

I have a document like this: { "baths": 2, "beds": 3, "id": "3225C", "addrs": [ { "line2": "", "line3": "", "state": "OH", "zip": "67845", "line1": "3225 ABC AVE", "city": "CLEVELAND" }, { …
Lerato
  • 301
  • 3
  • 6
9
votes
2 answers

Duplicate documents getting inserted in edge collection

I am using node driver version 6 of arangodb to insert relations between two vertices as follows. db.collection("starks").save({ _from: "Starks/Lyanna-Stark", _to: "Starks/Ned-Stark", type: "married" }); This inserts relation…
Dipti
  • 93
  • 4
9
votes
3 answers

How to use \n in a javascript string

Example: var i = 'Hello \n World' console.log(i) Would return: Hello World and I want it to return Hello \n World not rendering the new line, as I intend to store this in a database. FOR THOSE WHO WANT TO STORE \n in Database You don't need to…
itsezc
  • 692
  • 2
  • 7
  • 20
9
votes
3 answers

ArangoDB authentication via HTTP

I've seen examples of how to authenticate with a database using arangosh, but I couldn't find anything in the documentation about how to authenticate via the http API. Is this possible? Is it something like…
skinneejoe
  • 3,921
  • 5
  • 30
  • 45
8
votes
2 answers

ArangoDB multiple edge collection performance

I'm building an ArangoDB edge collection that consists of many "types". By type, think animal species taxonomy. I will be building a graph that connects all of these. Example: parent/child of ancient homo species: Homo habilis->Homo…
Chemdream
  • 618
  • 2
  • 9
  • 25
8
votes
2 answers

Query ArangoDB for Arrays

I am having a problem querying ArangoDB in java for a value of Arrays. I have tried with both String[] and ArrayList, both with no success. My query: FOR document IN documents FILTER @categoriesArray IN document.categories[*].title RETURN…
JosephG
  • 3,111
  • 6
  • 33
  • 56
8
votes
1 answer

How to count and order by number of incoming edges

I am trying to get get the ten people who have starred in the most movies and get the name and the number of movies in decending order. I am using the IMDB dataset. This is what I have so far: arangosh [_system]> var Graph =…
mikewilliamson
  • 24,303
  • 17
  • 59
  • 90
8
votes
1 answer

Node Express Connect - Session Management

I've written a session store driver for ArangoDB for ConnectJS. It is working, although still very much in alpha, but I have a couple questions. First sessions that have an expires attribute of "false" only remain for the duration of the user-agent.…
skinneejoe
  • 3,921
  • 5
  • 30
  • 45
8
votes
1 answer

ArangoDB AQL Non Case Sensitive Comparison

Let's imagine I have a few simple docs stored in an Arango collection like so: [ {"type":Cat, "quality":Fuzzy} {"type":Dog, "quality":Barks} {"type":Rabbit, "quality":Hoppy} {"type":Pig, "quality":Chubby} {"type":Red Panda,…
skinneejoe
  • 3,921
  • 5
  • 30
  • 45
7
votes
3 answers

Is it possible to implement ArangoDB sharding by database (rather than collection or shardKey)?

I have a large Arango instance with lots of databases - one for each project. Each projects database has a bunch of collections and a lot of data. The databases look something like project1 project2 project3 ... project500 I'd like to distribute…
ZECTBynmo
  • 3,197
  • 3
  • 25
  • 42
7
votes
1 answer

ArangoDB Faceted Search Performance

We are evaluating ArangoDB performance in space of facets calculations. There are number of other products capable of doing the same, either via special API or query language: MarkLogic Facets ElasticSearch Aggregations Solr Faceting etc We…
Roman Kuzmik
  • 151
  • 5
7
votes
1 answer

ArangoDB Import csv to edge (Graph)

I have a csv file that I want to import into a graph in ArangoDB. I'm using ArangoDB3-3.1.24 community version. Here are the first three rows of the csv file…
Muna arr
  • 353
  • 2
  • 13