cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo.ClientError.Statement.SyntaxError

CALL gds.graph.list()
YIELD nodeID, nodeCount, relationshipCount, density
where nodeID = '3'
RETURN nodeCount, relationshipCount, density
 

Neo.ClientError.Statement.SyntaxError

Unknown procedure output: `nodeID` (line 2, column 7 (offset: 29))
"YIELD nodeID, nodeCount, relationshipCount, density"
       ^
 
I want to take the 3rd row
1 ACCEPTED SOLUTION

The 'gds.graph.list' procedure provides information about a graph.  As such, it doesn't yield a nodeId. These are the outputs from the procedure:

  graphName: String,
  database: String,
  configuration: Map,
  nodeCount: Integer,
  relationshipCount: Integer,
  schema: Map,
  degreeDistribution: Map,
  density: Float,
  creationTime: Datetime,
  modificationTime: Datetime,
  sizeInBytes: Integer,
  memoryUsage: String

What are you trying to achieve? 

View solution in original post

2 REPLIES 2

The 'gds.graph.list' procedure provides information about a graph.  As such, it doesn't yield a nodeId. These are the outputs from the procedure:

  graphName: String,
  database: String,
  configuration: Map,
  nodeCount: Integer,
  relationshipCount: Integer,
  schema: Map,
  degreeDistribution: Map,
  density: Float,
  creationTime: Datetime,
  modificationTime: Datetime,
  sizeInBytes: Integer,
  memoryUsage: String

What are you trying to achieve? 

Thanks very much

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online