Questions tagged [neo4j-driver]
85 questions
0
votes
2 answers
Neo4j-driver: Cannot read property 'driver' of undefined
I pretty much copied the example and adjusted the database query. I dont understand why the driver is not recognized?
Version:
Node: v11.13.0
neo4j-driver: "^1.7.5"
I get the Error:
var driver = neo4j.v1.driver(
…

Lomo
- 89
- 6
0
votes
1 answer
How can I return actual data from Neo4j using the .net driver?
The data itself is just names of movies and corresponding nicknames.
In the neo4j browser, under code>response, it would return:
{
"keys": [
"n.name",
"n.Nickname"
],
"length": 2,
"_fields": [
"Titanic",
[
"Iceburg Movie"
…

Diego
- 117
- 11
0
votes
1 answer
What is the proper way to close a session using neo4j-javascript-driver?
Right now I am executing writeTransactions closing the neo4j driver session as suggested by the documentation.
However, I haven't found how to handle the session.close() when there is an error. This might be leading to all the connections of the…

elielr01
- 66
- 2
- 8
0
votes
1 answer
Neo4j - property as variable to return
I'm using python driver for neo4j (neo4j.v1) and I'm trying to write a generic function that gets node's unique id and a property and returns the value of the property of this node with the unique id.
I have tried using the following code without…

Dan
- 5
- 3
0
votes
1 answer
Neo4j driver closes connection when executing query
I have a script that uses Neo4j for tracking user taste preferences on alcohol types. So, basically when a user sets his preferences via an API endpoint the response is buffered to Kafka and I pick it from there. I am getting the following error…

Bogdan Alov
- 1
- 2
0
votes
1 answer
how to match right and left nodes with cypher and neo4j
I try to use a Neo4J graph database in my project, and I'll try to explain you my problem.
I would like to have the longest path, within the limit of 8 nodes, on right and left of each result. But I don't know the last node of each end of my…

roundge
- 66
- 9
0
votes
1 answer
Clarify different behaviour of neo4j and neo4j-driver
I have a rudimentary database that has just a couple of nodes and relationships. When I run a match (n) return n command on the local web client provided with neo4j it returns all the nodes and relationships that's in the database, as seen in the…

Laszlo T
- 1,165
- 10
- 22
0
votes
1 answer
Drop index with on nested property (with a dot) in Neo4j
I'm using Neo4j with Bolt and the Neo4j driver in Java. When I tried to run
the following command:
DROP INDEX ON :SingleBoardComputer(id.id)
Note that the name of the property is actually "id.id" (basically with a dot).
I have the following…

Davide D'Alto
- 7,421
- 2
- 16
- 30
0
votes
1 answer
Loading a CSV file into Neo4J running in Docker
I have Neo4J running in Docker (Windows 10). I want to import a large CSV file into it, using Node and neo4j-driver.
My query is (limited to 5 rows, for testing purposes):
let csvPath = 'file:///C:/Users/Test/largefile.csv';
let query = `
USING…

Traveling Tech Guy
- 27,194
- 23
- 111
- 159
-1
votes
3 answers
Can I query the neo4j database with Javascript?
I have created a geohash neo4j database for NYC Taxi data.
Now the next step is to visualize it within a map, for that i choosed Leaflet as a Javascript library.
with static data i can plot geohash data in Leaflet:
but now i want to query that data…

A.HADDAD
- 1,809
- 4
- 26
- 51