I am figuring out the structure of ArangoDB to be sure whether it could be my long term solution.  One of my important questions is, what parts are made by node-gyp (or Node-Addon) - and how does the query-builder transforms JavaScript generated AQL...
I'm trying a custom query in a repository on a FOXX app in ArangoDB:          /*clinics.js */             'use strict';       var Foxx = require('org/arangodb/foxx');              var ClinicsRepository = Foxx.Repository.extend({...
I'd like to have sorted result depending on user input.  Lets say I have sort object that could look like this:  var sort = {createdAt: -1}   or like this:  var sort = {createdAt: 1, name: 1}   And I have query that looks like this:  FOR f in [{c...
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...
I wrote a naive Node.js script to migrate a MySQL table to an ArangoDB collection.  It works quite well, despite that there are always records missing as if the connection was closed too early. How many documents will be missing is not random however...
I'm trying to build a large-ish social network graph with ArangoDB. I've got the data in there - about 35k vertices with about 150k edges.   I realize that's an awful lot of data, so I was hoping to draw only a subset at a time - maybe 2...
I am working with ArangoDb and after i finally got my data into the database I now want to visualize my graph. The built-in visualization is sadly not enough for me since I need to do things like highlighting nodes and change the thickness of edges e...
I would like to be able to store functions in ArangoDB documents. From what I have seen, this is actually possible, since user-defined AQL functions seem to be stored that way, as plain strings. My question goes in that direction: how are those strin...
I'm passing a query result to an array like this :   var someArray = [];  arangodb.query('somequery')     .then(         cursor => cursor.all()).then(             keys => someArray = keys,             err => console.error('Fa...
I'm trying to setup a message collection in ArangoDB that timestamps when the message was entered. However, when I setup the model in foxx it won't work if I set joi.date() or joi.date().timestamp() in the model schema.   I've tried to us...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.