Questions tagged [python-arango]

python-arango is a Python driver for ArangoDB. Please use this tag to discuss on queries related to python-arango. Question the tag should be limited the scope of the python-arango. For more information, please visit the documentation.

26 questions
0
votes
0 answers

python-arango parameter request_timeout in ArangoClient results in error message

In the moment I have problems with my AQL-Queries via pathon-arango. The request takes sometimes longer than 60 seconds and runs in a timeout. In the documentation I found this the parameter…
Thomas Dorloff
  • 111
  • 1
  • 1
  • 5
0
votes
1 answer

Node Hash in ArangoDB?

I'm using ArangoDB for Graph-Versioning and would be looking for a faster method to evaluate whether or not a Node is the same in two different collections. Apart from hashing each node before I write it - does ArangoDB have any mechanism that lets…
Qohelet
  • 1,459
  • 4
  • 24
  • 41
0
votes
1 answer

Obtaining maximun _key value from an Arango Collection

Imagine that _key is a series which is always increasing, such as: { _key:1, name: John, ... }, { _key:2, name ... }, ... I would like to get the maximum value of _key so I can include another element with a _key + 1 value. I am using…
0
votes
0 answers

Best way to mass-insert Edges into ArangoDB?

I'm writing a python converter for Neo4J to ArangoDB and expect +10k Nodes to be imported. The converter for the Nodes is somewhat trivial but the creator of that database has a rather custom key-setting so I can't export his keys from his Neo4J…
Qohelet
  • 1,459
  • 4
  • 24
  • 41
0
votes
1 answer

What is the fastest way to get all documents of a collection?

I have a problem. I want to get all documents of a collection with ~ 1 mio documents inside. I asked myself what is the fastest way to get all documents inside a collection. Is it with cursor or with .all? And are there any recommendation for the…
Test
  • 571
  • 13
  • 32
0
votes
1 answer

How can I read the complete documents inside a collection

I am using the libary python-arango. Is there an option to read inside a Collection e.g. students the complete documents? My aim is that I can see the complete documents inside a dataframe, e.g. import pandas as pd;…
Test
  • 571
  • 13
  • 32
0
votes
2 answers

Find and convert values in nested dict and update db collection

I have converted many xml files to json using xmltodict and inserted those in arangodb. Now I well loop over the collection and change some values in the database. LIke day, mount and year from string to int. The documents can be very nested and the…
0
votes
1 answer

ArangoDB Join Edge collections

I have 1 node and two edge collections. I want to write an AQL query to find the common nodes between the two edge collections. How can I join two edge collections as there is not common field in the 2 edge collections to query. As I am trying to…
pavan sai
  • 45
  • 1
  • 1
  • 5
0
votes
1 answer

Python ArangoDB insertion of objects not completed after method is run

I use arango-orm (which uses python-arango in the background) in my Python/ArangoDB back-end. I have set up a small testing util that uses a remote database to insert test data, execute the unit tests and remove the test data again. I insert my test…
Valentin Grégoire
  • 1,110
  • 2
  • 12
  • 29
0
votes
0 answers

Transactional Update and Removal of documents in ArangoDB

Given the following document structure: { "id": "123" "traits": { "abc": 6.5 "def: 66 } } I need to iterate over the documents and remove some of the traits based on criteria. A document with all traits removed…
Bruce S.
  • 106
  • 1
  • 3
-1
votes
0 answers

How to use Arango Pregel Algorithms

Give some Ideas to use Pregel Algorithms. Give some Ideas to use Pregel Algorithms like Page rank...... I need to use Pregel Algorithm for project using java. I also referred some…
1
2