Open Anunayth opened 4 years ago
@Andy2003 we should revisit if we still need the slotted runtime requirement (there used to be a bug)
and if not if removing the runtime is enough to make fabric work.
@jexp I searched the code base for slotted
, but we do not generate any cypher with a runtime
flag.
@Anunayth is your clue code generating the runtime=slotted
flag?
I am trying to fetch data from neo4j using fabric in neo4j-graphql-java. I have two subgraphs and i am using fabric to fetch data from one of the subgraphs.
I am using library neo4j-graphql-java - version 1.0.0 and neo4j version4.1.0. My neo4j db has two subgraphs : subgraph_1 and subgraph_2(default).
Graphql Schema :
type Query{ getNodeFromSubGraph : [Element] @cypher(statement:"use fabric.subgraph_1 match(n) return n") }
error :
Caused by: org.neo4j.exceptions.SyntaxException: The USE GRAPH clause is not available in this implementation of Cypher due to lack of support for USE graph selector. (line 1, column 28 (offset: 27)) "cypher runtime=slotted use fabric.subgraph_1 match(n) return n"
How can i fetch the data using fabric. The same query works in neo4j browser.