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
0
votes
1 answer
Using ArangoSearch LIKE to search for a string with space
I created an ArangoSearch view over a collection and am using the SEARCH keyword with wildcards w/ LIKE to search a field with spaces, similarly to how MySQL would. The problem I am running in to is, I keep getting an empty set even though records…

AnchovyLegend
- 12,139
- 38
- 147
- 231
0
votes
1 answer
ArangoDB: sends "statusCode: 0"
Have anyone encountered this Error message, when trying to connect to ArangoDB from a React application [See first attached photo]? It seemed like, it could be an issue related to authentication... but I've tried using "_system" and my own…
0
votes
1 answer
Arango DB Replication applier not working
I am trying to setup a master-slave model of Arango. Able to do a first batch update but applier for live sync is not working. It keeps failing on indexing constraint which works perfectly fine in master and does not have a duplicate key…

user2449952
- 581
- 1
- 7
- 21
0
votes
1 answer
How to customize link properties when creating ArangoSearchView in ArangoJS
I try to create an ArangoSearchView in arangojs, but I don't know how to set up view properties.
Here is my code:
const link = {
includeAllFields: true,
fields: { val: { analyzers: ["text_en"] } },
storeValues: "val"
};
const view =…

JasonMA606
- 15
- 3
0
votes
2 answers
How can I use AQL with multiple queries that using the result of one another?
I have 2 vertices and an edge named user, device, ownership respectively.
My business logic is when I receive device information, I upsert it with dateCreated and dateUpdated fields added. If I inserted that device then I insert new user with…

Erhan SEN
- 285
- 2
- 11
0
votes
1 answer
I am getting connection reset error when trying execute two queries at the same time in arangodb?
I am using arangojs v6.14.1 and arangodb version 3.6.4.. I also have the nodejs express app which is intended to serve client requests.
I am experiencing an issue while executing concurrent requests. The database connection hangup when I…

syam sasidharan
- 31
- 2
0
votes
1 answer
How to move the code to set ut DB and collection out from my file and just requre it?
So, let's say I have this code that works perfectly.
const {
Database
} = require("arangojs");
var db = new Database({
url: "http://localhost:8529"
});
const database_name = "cool_database";
db.useBasicAuth("username",…

someone
- 57
- 4
0
votes
0 answers
Querying through different collection in Arango DB and applying filter on path edges
I have graph DB structure as shown in image below.
As described, I have 3 document collection - Collection 1, Collection 2, Collection 3. I also have 2 Edge collections - Edge Collection 1 have an attribute type which can take two values T1 or T2,…

Plasmatiger
- 197
- 2
- 12
0
votes
1 answer
Arango AQL queries NOT IN
I'm creating a Facebook-like website and I want to suggest friends for a user who studies at the same school, but are not already friends.
I already Trying to do this with AQL queries, but there seems to be a syntax problem..
The error code return…

Evasi0n
- 1
0
votes
1 answer
Can I use several FULLTEXT() searches in a query?
How can I change the query so that I can use two fulltext searches in one query? Under here is a simplified version of my query now. It does not work - it only gives me results from the first FULLTEXT() search.
FOR doc IN FULLTEXT(@@collection,…

someone
- 57
- 4
0
votes
1 answer
ArangoDB Single Instance as a Docker Container Fills memory and restarts
We are running ArangoDB v3.5.2. The Docker container unexpectedly restarts at random intervals, and all the connected clients get disconnected. After further investigation, we found that Docker container running Arango is reaching the memory…

Nicolas El Khoury
- 5,867
- 4
- 18
- 28
0
votes
1 answer
Arango beginTransaction() not rolling back with trx.abort()
I'm having some difficulty with arangodb.beginTransaction(). In my tests, creating a transaction, calling a function via trx.run() API and then aborting the trx does not roll back the data changes on the database. I'm unclear what is happening and…

robross0606
- 544
- 1
- 9
- 19
0
votes
1 answer
Is there a way to "touch" a document in ArangoDb
I need to be able to "touch" a document (for optimistic purposes) in ArangoDb in order to check and update the _rev without modifying any other data in the document. I have yet to find a way to do this generically with AQL or Javascript Driver…

robross0606
- 544
- 1
- 9
- 19
0
votes
1 answer
arangojs: keepNull not an option for collection.save?
I'm going through the documentation for arangojs and looking at the function collection.update(), keepNull is one of the options that can be added.…

Omnia87
- 103
- 7
0
votes
1 answer
Database reference is not defined in arangojs on node js
I am trying to use ArangoJS drive on Node JS, when I add following code to main app.js file it works but when added to a function in a class in different file it throws an error.
Database is not defined
Code is as follows
class User…

vishal dharankar
- 7,536
- 7
- 57
- 93