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
Querying ArangoDB without leaving page
I'm relatively new to webdevelopment and have been using ArangoDB for most of that limited experience. I have a basic understanding of Node.js and creating express based CRUD apps with ArangoDB as the database.
I'm getting to a point though where…

Omnia87
- 103
- 7
0
votes
1 answer
How to Loop Over Date Range in ArangoDB
I need to return a value for every date between a start and end date.
For each row: if the date exists in row.date, then I need to return row.myValue else I need to return null.
Example:
dateRange = {start: '2018-01-01', end:…

James
- 445
- 1
- 6
- 19
0
votes
1 answer
Which method of storing this particular data would be more efficient?
I have an existing database for a game - currently using MySQL to store information - and I wish to test out ArangoDB to compare speed.
I am wondering whether it would be better to store all of a player's information in a single collection or if it…

L. Thompson
- 5
- 1
- 3
0
votes
1 answer
running Foxx-cli on linux -- foxx: command not found
I'm following the instructions for installing foxx-cli here: arangodb/foxx-cli: CLI for managing Foxx services.
specifically, I did these steps:
sudo pacman -S nodejs yarn
yarn global add foxx-cli
success Installed "foxx-cli@1.3.0" with…

BugBuddy
- 576
- 2
- 5
- 19
0
votes
1 answer
How to start ArangoDB-GraphQL-Express?
I looked at the support from ArangoDB, and google search, but it did not help me much...I am fresh in these topic, (but Polish proverb says that you should not be ashamed to ask questions).
my situation is as follows, I have quite a very extensive…

CisSasGot
- 779
- 1
- 8
- 13
0
votes
0 answers
Node.js and ArangoDB query executing multiple times on single function call?
I have a node app using ArangoDB and I noticed tons of repeated entries in the logs when I query. I can't tell if its doing multiple requests, or just logging repeatedly.
I'm calling this from my Hapi.js handler which is an async function
let user =…

Michael
- 23
- 1
- 7
0
votes
1 answer
Is there anyway to find create date of existing databases in arangodb with arangosh
like in mysql we can query the system table/ information schema table to get databases based on creation date, is there any command or query to get databases based on database creation date

Joobi S B
- 173
- 1
- 8
0
votes
1 answer
AQL: Dynamic query with nested array dates
I have been trying to get this dynamic query to work with dates as shown below in ArangoDB 3.1.
This works perfectly when I'm not trying to query dates, but returns an empty list as soon as I try to query with a date like below...
{
query:
…

Glstunna
- 1,993
- 3
- 18
- 27
0
votes
1 answer
ArangoDB query with multiple attributes and FULLTEXT search
Below is my collection structure, has 3 collection, image, category and tags
I want to filter all "images" which has keyword (FULLTEXT search) like "cow" and belongs to "animals" category and tagged with "photo"
How can I do this filter with…

Gireesh
- 91
- 1
- 7
0
votes
1 answer
ArangoSH cannot connect arangodb
I just installed arangodb (version 3.1.17) on MacOS, and I cannot seem to make arangosh to work.
I installed arangodb through homebrew and it works properly. (I can start the service and the initial page opens if I type 127.0.0.1:8529 in a…

Israel Zinc
- 2,713
- 2
- 18
- 30
0
votes
1 answer
connect from nodejs to arangodb3 using unix file socket
I'm trying to connect to arangodb3 using Nodejs 7.5.0 with unix file socket on Gentoo Linux.
I started arrangodb3 server with a unix socket at /tmp/mysocket.
I tried two different modules:
const arangojs = require('arangojs');
let db = arangojs({
…

ufk
- 30,912
- 70
- 235
- 386
0
votes
1 answer
Determining which unique constraint caused INSERT failure in ArangoDB
I have a document collection in ArangoDB that has multiple unique indexes. When inserting a new document, the insert could fail because of any of the unique indexes. Is there a way to easily figure out which field(s) in the document caused the…

NoSkills
- 1
- 2
0
votes
1 answer
How to call ArangoDB Foxx applications from arangodb-php
With ArangoDB-PHP I can easily run AQL querys, but is it possible to use (means "execute") Foxx applications (i.e. when I install foxx/util-sessions-local from https://github.com/arangodb-foxx/util-sessions-local) - how to use the…

hwde
- 353
- 2
- 6
0
votes
2 answers
What parameters does a function takes
I am trying to create an edgeCollection via node command line. I think the db.edgeCollection does this for me. What I don't know is what extra parameters does the function take in order to create a new edge collection.
I am currently using arangojs…

Prasanna
- 4,125
- 18
- 41
0
votes
0 answers
Dynamic queries with ArangoDB
I am looking to write dynamic queries for an ArangoDB graph database and am wondering if there are best practices or standard approaches to doing it.
By 'dynamic queries' I mean that users would have the ability to build a query that is then…

David Thomas
- 2,264
- 2
- 18
- 20