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
6
votes
1 answer

Creating edge collection in ArangoDb FOXX app

Can somebody help me with following issue. I'm writing custom FOXX app in ArangoDB and I need to create edge collection. With db._create("example"); I can create document collection, but I don't know how to change the type of it. I've tried…
Jakub Riedl
  • 1,066
  • 2
  • 10
  • 27
6
votes
1 answer

How to traverse a graph with ArangoDB and PHP

ArangoDB provides documents and edges as a low level way to produce graphs. Let's say we have set up a graph with some vertices and edges. The graph represents the relationship between the vertices. v2 is a child of v1 v3 is a child of v2 v4 is a…
thesilentman
  • 778
  • 5
  • 18
6
votes
1 answer

How to do user registration and authentication in PHP with ArangoDB?

ArangoDB is a flexible multi-model database server which has very nice features and lots of good documentation. It's a young, very promising open source project with a growing community but not many real world examples to get started. A common…
thesilentman
  • 778
  • 5
  • 18
5
votes
2 answers

Bulk import of .json files in arangodb with python

I have huge collection of .json files containing hundreds or thousands of documents I want to import to arangodb collections. Can I do it using python and if the answer is yes, can anyone send an example on how to do it from a list of files?…
Kostas
  • 113
  • 11
5
votes
3 answers

In ArangoDB AQL, how to return both vertices and edges from a graph traversal?

I want to return a list of all unique edges and all unique vertices met during a graph traversal query. This gives me exactly the result I want, but I'm executing the same query twice: LET eResults = ( FOR v,e IN 1..2 …
now
  • 4,772
  • 2
  • 24
  • 26
5
votes
1 answer

ArangoDB working together with letsenrcypt certificates

Is there anyoune out there who got a running arangoDB database working with a letsencrypt certificate? I just can't find out to geht this running. ArangoDB is running on a digitalOcean droplet and I could get it running togehter with a self-signed…
5
votes
1 answer

graph plot API for ArangoDB pyArango

I am using ArangoDB community edition, I can query on a created graph in AQL and get results in JSON which is graphically visualized on ArangoDB web interface tool. AQL Query FOR v,e,p IN 1..3 OUTBOUND 'germanCity/Hamburg' GRAPH 'routeplanner'…
Morse
  • 8,258
  • 7
  • 39
  • 64
5
votes
1 answer

how can I see which queries have been sent to the ArangoDB server

I want to quickly gather all queries sent to my ArangoDB server from an application that uses the python-arangodb driver without digging through the source and without resorting to sniffing HTTP traffic to the REST API. Isn't there some admin/audit…
Gregor
  • 1,297
  • 1
  • 19
  • 31
5
votes
2 answers

AQL filter by array of IDs

If I need to filter by array of IDs, how would I do that using bindings? Documentation does not provide any hints on that. for c in commit filter c.hash in ['b0a3', '9f0eb', 'f037a0'] return c
5
votes
1 answer

arangodb AQL How to modify the value of the object in a nested array?

I have document organized such way: { "email": "tyler_li@126.com", "name": "tyler", "address": { "street": "Beijing Road", "zip": 510000 }, "likes": [ "running", { "movie": "Star Wars" } ] } I have problem in…
Tyler_li
  • 51
  • 2
5
votes
1 answer

Specify https host as arangodb host in properties

I'm building CRUD interface for ArangoDB as Java service. My ArangoDB service has dynamic IP, but static URL. Thus I want to specify URL instead of IP and port. But when I set it in arangodb.properties file I get the following exception: Caused by:…
Sergei Podlipaev
  • 1,331
  • 1
  • 14
  • 34
5
votes
2 answers

Arango DB performace: edge vs. DOCUMENT()

I'm new to arangoDB with graphs. I simply want to know if it is faster to build edges or use 'DOCUMENT()' for very simple 1:1 connections where a querying the graph is not needed? LET a = DOCUMENT(@from) FOR v IN OUTBOUND…
5
votes
3 answers

UPSERT with python-arango driver for ArangoDB

I'm using python-arango as a driver for ArangoDB, and there doesn't seem to be an UPSERT interface. I intended to tag this with python-arango, but I have insufficient rep to create new tags. I'm managing with something like the function shown below,…
Thomas Fauskanger
  • 2,536
  • 1
  • 27
  • 42
5
votes
0 answers

ArangoDB batch issue with sharded collections

I have set up an arangodb 3.1.10 cluster on a single server with 3 agents, 5 coordinators and 5 primaries. I have an issue with using big batches with sharded collections. I regularly get the following error in the coordinator responsible for the…
nevare
  • 156
  • 1
  • 5
5
votes
4 answers

How to check if a collection already exists in ArangoDB

Say I have a collection Col1 that already exists in my database. So, doing something like: var col = db.collection('Col1'); col.save({"name":"something"}); will work perfectly fine. But if a collection Col2 that doesn't already exist in my…
Prasanna
  • 4,125
  • 18
  • 41