Questions tagged [neo4j-node]
9 questions
4
votes
0 answers
What is/how to write multiple tx.run as a single transaction with the neo4j-driver in NODEjs?
I'm trying to sync two databases and for each type of operation I want it to be a whole transaction, I've setup something rather basic but I'm unsure if this will actually run and rollback as a single transaction. I've been looking through the…

SebastianG
- 8,563
- 8
- 47
- 111
4
votes
2 answers
Neo4j + nodejs: create node using javascript object literal
can't find whether this has been asked before or not, so bear with me.
I'm just starting to use Neo4j with a nodejs backend and the neo4j-driver driver. I wonder if it's possible to create a node with several properties without enumerating each one…

Andrea Aloi
- 971
- 1
- 17
- 37
3
votes
0 answers
Neo4J 3.0 overlapping transactions
I am using Neo4j v3.0.6 with neo4j-driver 1.1.0-M2 (BOLT) and am experiencing the following behaviour where everytime two transactions overlap the second one fails. Is that expected behaviour? It looks weird to me given they are also in different…

cipacda
- 154
- 8
3
votes
1 answer
Neo4J - How to avoid this lock issue
I got this error when I tried to delete two different relationships from a node concurrently.
{ [Error: LockClient[402733] can't wait on resource RWLock[RELATIONSHIP(201056), hash=1039491204] since => LockClient[402733] <-[:HELD_BY]-…

Krishna Shetty
- 1,361
- 4
- 18
- 39
3
votes
2 answers
How to soft delete functionality in neo4j?
In relational databases like mysql I was used to do soft delete by setting deleted_at. And then for retrieving SELECT just get rows WHERE deleted_at IS NULL.
I am confused how to implement soft delete in neo4j database. There are multiple ways I am…

Somnath Muluk
- 55,015
- 38
- 216
- 226
2
votes
1 answer
Neo4J server is stuck close to 100% CPU
Running neo4j 2.0.1 community version on an AWS EC2 instance.
Neo4J server is getting stuck close to 100% CPU after some read requests.
The CPU continue to stuck close to 100% even when there are no read or write.
The ubuntu 'top' command just shows…

Krishna Shetty
- 1,361
- 4
- 18
- 39
1
vote
1 answer
Neo4j transaction misunderstanding
While I was looking over the documentation for transactions I came accross on this example:
var tx = session.beginTransaction();
tx.run("MERGE (bob:Person {name : {nameParam} }) RETURN bob.name AS name", {nameParam: 'Bob'})
.subscribe({
…

Dimitrios Desyllas
- 9,082
- 15
- 74
- 164
0
votes
1 answer
Neo4j Connecting multiple relationships between multiple nodes
I am trying to achieve what is shown here:
I have 2 CSV Files, diease_mstr and Test_mstr Now in Test_mstr, I have many test to disease ID records, which means none of them are unique. The disease ID points to disease_mstr file. In disease_mstr file…

DaVinci007
- 83
- 12
0
votes
1 answer
Modeling recursive breakdown structures in graph database
For recursive breakdown structures, is it better to model as ...
a. Group HAS Subgroup... or
b. Subgroup PART_OF Group ?? ....
Some neo4j tutorials imply model both (the parent_of and child_of example) while the neo4j subtype tutorials…

Dave
- 45
- 4