You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following gives me an error
`val query = cypher"create (b:Node {id: 1, name: "Name1"}) return b"
val request = sessionFuture.flatMap(session => session(query))
Await.result(request, Duration.Inf)`
The error Parameter provided for node creation is not a Map
... org.neo4j.cypher.internal.frontend.v3_3.CypherTypeException: Parameter provided for node creation is not a Map\n\tat org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.BaseCreateNodePipe$$anonfun$setProperties$1.apply(CreateNodePipe.scala:60)
The text was updated successfully, but these errors were encountered:
valid=1valname="Name1"valquery=cypher""" CREATE (b: Node) SET b.id = $id
SET b.name = $name
RETURN b"""
However, I must warn you that I've abandoned this project in favor of using ArangoDB and my own driver (https://github.com/outr/scarango). There are significant advantages over Neo4j with ArangoDB.
Could you give an example of how to run a create?
The following gives me an error
`val query = cypher"create (b:Node {id: 1, name: "Name1"}) return b"
val request = sessionFuture.flatMap(session => session(query))
Await.result(request, Duration.Inf)`
The error
Parameter provided for node creation is not a Map
...
org.neo4j.cypher.internal.frontend.v3_3.CypherTypeException: Parameter provided for node creation is not a Map\n\tat org.neo4j.cypher.internal.compatibility.v3_3.runtime.pipes.BaseCreateNodePipe$$anonfun$setProperties$1.apply(CreateNodePipe.scala:60)
The text was updated successfully, but these errors were encountered: