ArangoDB is a NoSQL database with graphs support. Its key features are schemaless documents, key/value store, transactions and joins, also ArangoDB allows for multi-master clustering and horizontal scalability.
Questions tagged [arangojs]
113 questions
1
vote
1 answer
Error saving document in ArangoDB with nodeJS
Applying tutorial without Foxx :
https://www.arangodb.com/tutorials/tutorial-node-js/
Node.js 8.11.1 (x64)
arangoDB 3.3.7-1_win64
arangojs@6.2.3
DOCUMENT SAVED : meta._rev UNDEFINED
node is running well in local server
Test app.js code :
const…

Christopher0
- 11
- 4
1
vote
0 answers
Arangodb: Modifying array
I am new to arangodb, i have the following document under collection named posts
{_id:56687,
userid: "usr32",
postcontent: "text here",
comment: [{usrid:"usr32",msg:"good post",date:"date"},{usrid:"usr32",msg:"good post",date:"date"}]
…

siva
- 63
- 1
- 16
1
vote
1 answer
Arangojs - Firebase Cloud functions => Can't connect to my database
I'm trying to use firebase cloud functions to host an API which communicates with an Arango database.
I'm using arangojs to connect but I get the following errors when I try to access my database.
I tried with IP address and with a url (which points…

pderuel
- 51
- 4
1
vote
1 answer
How to build a route from point "A" to point "E" with the condition that the end point is the point "E"?
I need to build all possible routes from point "A" to point "E" with the condition that the end point is a point "B"
Task example:
From : A, To: B
Example result:
A -> E
A -> B -> E
A -> C -> D -> E
A -> B -> C -> D -> E
So far I was able to do…

Ilya Rumyancev
- 23
- 3
1
vote
1 answer
Using arangojs npm Database as a persistent connection
When creating an arangodb connection with the arangojs npm module via something like :
function createConnection(connectionUrl, databaseName) {
var connectionProps = {
url: connectionUrl,
databaseName: databaseName
};
var…

John Rellis
- 543
- 3
- 15
1
vote
0 answers
'Access-Control-Allow-Credentials' header in the ArangoDB response is 'false'
I am trying to get the documents from an ArangoDb database collection , from a Vuejs application. When I run the code below in a node console, it works fine.
Database = require('arangojs').Database;
aqlQuery = require('arangojs').aqlQuery;
…

François DG
- 11
- 3
1
vote
1 answer
No more logs all of a sudden, no settings or config changed
I have been catching logs until two days ago and now all of a sudden I do not see any logs. I didnt touch the command line. I just have updated the only service I have to save documents in the database.
Arangodb Version. 3.1.6
environment Ubuntu…

Danish Soomro
- 13
- 3
1
vote
0 answers
ArangoDB Coordinators lagging
we are running a production Database cluster consisting of the following:
Three AWS linux servers, each of which contains one Coordinator, one Agent, and one Primary Database. All three servers are located in a private network on AWS. The databases…

Nicolas El Khoury
- 5,867
- 4
- 18
- 28
1
vote
1 answer
ArangoDB Transaction doesn't rollback on error
UPDATE: SOLUTION FOUND. ARANGODB CLUSTER DOES NOT SUPPORT TRANSACTIONS. IT IS ONLY SUPPORTED ON SINGLE INSTANCES.
I am trying to use the transactions function using arangoJS library. The function that I will present is just a dummy function that…

Nicolas El Khoury
- 5,867
- 4
- 18
- 28
1
vote
1 answer
configure TLS certificate authroity in arangojs
I created my own certificate authority to generate TLSv1.2 certificates for my development environment.
My CA has a root cert, an intermediate cert signed by the root and a number of "leaf" certificates signed by the intermediate cert. I use one of…

salai
- 71
- 5
1
vote
1 answer
How to improve ArangoDB performance under the load (multiple concurrent queries)?
We use ArangoDB and PostgreSQL to store almost identical data. PostgreSQL is used to perform general types of queries which relational databases can perform well. ArangoDB was selected to perform kind of queries like graph traversals, finding a…

Peter Liapin
- 1,196
- 9
- 20
1
vote
1 answer
Arangodb import from aql query array
As I understand it, the arangoimp function can import an array of documents into a new collection.
As I have the output of complex join in the form of an array of documents that I would like to create as a new collection. Given this, is there a way…

Guido
- 37
- 1
- 7
1
vote
2 answers
How to do a fulltext search if the string has '-' in it for e.g "3da549f0-0e88-4297-b6af-5179b74bd929"?
When I indexed the field and search for a string which has '-' in it like the above example then the Arango treat it as negation operator and hence do not search that string. What is the solution of searching these documents which contains '-' in it…

Haseb Ansari
- 587
- 1
- 7
- 23
1
vote
1 answer
Example of complex similarity computations in ArangoDB?
I am new to ArangoDB and have been reading through the documentation and examples available online for a few days now. However, I am not able to formulate a query to do a complex calculation using AQL. Looking forward to some examples that can…

Stan Lee
- 117
- 5
1
vote
1 answer
How to get filtered result by using Hash Index in ArangoDB?
My data:
{
"rootElement": {
"names": {
"name": [
"Haseb",
"Anil",
"Ajinkya",
{
"city": "mumbai",
"state": "maharashtra",
"job": {
"second": "bosch",
…

Haseb Ansari
- 587
- 1
- 7
- 23