Questions tagged [arangodb]

ArangoDB is a multi-model NoSQL database with a flexible data model for documents, graphs, and key-values collections.

ArangoDB is a multi-model NoSQL database with a flexible data model for documents, graphs, and key-values collections. It targets high-performance applications using a convenient declarative query language AQL and JavaScript extensions.

Useful links

Articles


Related tags :

1967 questions
0
votes
1 answer

How to offset limit by sorted index with AQL?

I have a document collection of members which have two relevant properties: _key and score. I've also created a persistent index on the score field, as that should make sorting significantly faster. I want to write an AQL query that returns…
ElJay
  • 347
  • 4
  • 17
0
votes
1 answer

Does ArangoDB java driver provides API for GEO_INTERSECTS

For library arangodb-spring-data, version 3.2.3, is there any possibility to query for GEO_INTERSECTS functionality using the java api provided by the driver? Currently I am using an AQL query in my code: LET areaLiteral = GEO_POLYGON(...) FOR doc…
Flowryn
  • 1,437
  • 1
  • 16
  • 32
0
votes
1 answer

Arangodb groupby query with paging

I have a database of products in an arangodb collection in which a product has multiple sizes. The issue is that for each size, the same product is repeated. But each product has a common group number. Like this: {"name": "product1", "description":…
rahulserver
  • 10,411
  • 24
  • 90
  • 164
0
votes
2 answers

How to replace list element in arangodb

I have a list in arango collection like below { "id":"123" "studentlist": [ "a", "b", "c" ] } Now based on some filter condition i have to replace particular element of list with the replacement set. In this example i want to replace…
krishna
  • 343
  • 2
  • 5
  • 19
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

Using Foxx CLI to Create Service

I am using Foxx service CLI Server to create API service during time error came as" Server refused authorization. Either your credentials are invalid or the user has insufficient privileges" so kindly help me
0
votes
1 answer

Spring Data integration for ArangoDb gives back empty result list on queries

When I use queries from method names with ArangoDb and Spring Data integration I always get empty lists. What is the problem in the way I use? This is an example. These are the Entities: Authorization: @Document("authorizations") @Data //…
Andrea T
  • 3,035
  • 4
  • 23
  • 39
0
votes
2 answers

ArangoDB function db.Query(ctx, query, bindVars) returns no data

Code below the comment 'Querying documents with bind variables' does not product the expected record count of 1. import ( "fmt" driver "github.com/arangodb/go-driver" "github.com/arangodb/go-driver/http" "context" ) type Book struct { …
Tusshu
  • 1,664
  • 3
  • 16
  • 32
0
votes
2 answers

How should I connect to ArangoDB using SpringBoot

I'm trying to create a simple SpringBoot app to connect and store some data in the database, but keep hitting a 401 forbidden message when my code tries to commit a new object. How should I be connecting to ArangoDb using SpringBoot to be able to…
DaFoot
  • 1,475
  • 8
  • 29
  • 58
0
votes
0 answers

Cannot create document using go driver for ArangoDB

The following function is supposed to create a new user record in Users collection: func arangodb() { conn, err := http.NewConnection(http.ConnectionConfig{ Endpoints: []string{"http://root@localhost:8529"}, }) if err != nil { …
Tusshu
  • 1,664
  • 3
  • 16
  • 32
0
votes
1 answer

How to display all the all the children edge nodes in arangoDB [nth level like neo4J]

set up events collection with 1 million records. Set up ChildEvents edge collection successfully. FOR c IN events FOR p IN events FILTER p.mynum == ( c.mynum + 1 ) INSERT { _from: c._id, _to: p._id} INTO…
0
votes
1 answer

Efficiently count Documents with different values for a given field

I am trying to count the number of documents that are in each possible state in a particular Arango collection. This should be possible in 1 pass over all of the documents using a bucket-sort like strategy where you iterate over all documents, if…
loganrussell48
  • 1,656
  • 3
  • 15
  • 23
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
2 answers

ArangoDB Foxx: require() returned undefined

I created an ArangoDB Foxx service, and successfully mounted it on some route using Foxx CLI. My service has a dependency which uses randombytes. When I call the service it returns an error saying `randomBytes is not a function. For testing purposes…
Tigran Sahakyan
  • 363
  • 1
  • 5
  • 10
0
votes
1 answer

ArangoDB Parent to Child edge creation on existing 1 milltion docucments for nested leves not working/or SLOW

Created events document in ArangoDB. Loaded 1 million records as shown below which completes in 40 seconds. FOR I IN 1..1000000 INSERT { "source": "ABC", "target": "ABC", "type": "REST", "attributes" : { "MyAtrib" : TO_STRING(I)}, …
1 2 3
99
100