Comments (10)
Hi!
I cannot reproduce the issue on current master head:
λ> pipe <- connect $ def {user = "neo4j", password = "neo4j"}
λ> result <- run pipe $ queryP "MATCH (n {prop: {prop}}) RETRUN n" M.empty
λ> print result
[]
Which version of Neo4j do you use?
from hasbolt.
there's a typo in your query - RETRUN /= RETURN
from hasbolt.
My fault. It shows one more problem: hasbolt does not provide error messages on syntax errors. I'll fix it, thank you!
P.S. But with correct 'return' or without it everything still works:
{-# LANGUAGE OverloadedStrings #-}
import Database.Bolt hiding (Value)
import qualified Data.Map.Strict as M
main :: IO ()
main = do pipe <- connect $ def {user = "neo4j", password = "neo4j"}
result <- run pipe $ queryP "MATCH (d {prop: {prop}})" M.empty
putStr "Result:"
print result
close pipe
retruns Result:[]
from hasbolt.
@epsilonhalbe please check if latest commit works to you.
from hasbolt.
@zmactep no it does not work - my neo4j is a 3.1.0 - inside a docker container, I also tried the docker image for 3.0 which is (3.0.7 at the moment) without any results
from hasbolt.
the docker command I use is
docker run --name neo4j --publish=7474:7474 --publish=7687:7687 --volume=$HOME/neo4j/data:/data --volume=$HOME/neo4j/logs:/logs neo4j:3.1
and later docker start neo4j
from hasbolt.
It is deeply magical. I'll try on one more laptop, but as for now I have this:
from hasbolt.
I have now tried this at home (new fresh docker container, linux native not in a vmware container) - and it works fine - so I will delete the docker container & image and all of the temporary files I have created and try it again tomorrow
from hasbolt.
Ok, thanks! I use OS X + Docker for Mac and CentOS 7 + native docker. Both work fine for me.
from hasbolt.
So, I close this issue, as I cannot reproduce it on any machine.
from hasbolt.
Related Issues (20)
- Compiler error on versions > 0.1.1.3 HOT 2
- log output HOT 1
- error: Variable not in scope: def HOT 3
- Support for transactions HOT 6
- Neo4j 4 drops bolt version 1, perhaps default to higher version? HOT 8
- Show, Read instance to BoltCfg HOT 1
- profiling Cypher queries
- Bolt protocol 4+ support (with poll) HOT 11
- MERGE ON CREATE ON MATCH with more than 12 properties seems to cause a subsequent binary format decode error HOT 2
- Problem with official example HOT 1
- Exposing ResponseError data type
- recommended resource-pool hangs when connect is not successful HOT 1
- ToJSON and FromJSON Instances to Node and Relationship Datatypes HOT 2
- Doesn't work for Neo4j version 5.7
- variables as parameters HOT 2
- Fragile Pipes Syndrome HOT 2
- `Structure` is not exposed HOT 3
- `def` Cannot be found HOT 5
- Can't use Hasbolt with GrapheneDB HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hasbolt.