0

I tried get all data from my neo4j database via neo4j driver (https://github.com/neo4j/neo4j-dotnet-driver) and I have problem, because IResultCursor result have nodes only without edges. My code:

var records = new List<IRecord>();
IResultCursor result = await session.RunAsync("MATCH (n) RETURN n");
while(await result.FetchAsync())
{
      records.Add(result.Current);
}

After all list 'records' have nodes only. In the end I would like to ask you, how can I get query execution time? Thanks!

4

1 に答える 1