Thanks for the reply Adam, I had some query like MATCH (o:Organization WHERE id(o) = 123) RETURN o which was confirmed to work and return a node in neo4j browser. I had saved it as a file, test.cypher, and tried to "Run> Run without debugging [Ctrl+F5]" in vscode from the menubar.
Hey @stauntonjr , what are you trying to do when you get that debugger message? There aren't any debugging features in the plugin at the moment.
You should see the active database in the bar at the bottom of the screen or an asterisk next to the connection name in the menu bar to indicate the active database.
What query are you trying to run? All I can think is that a parameter has been cast with the wrong value or something. I'm happy to jump on a quick screen share to look at what is happening.
The command for running the Cypher statement is separate from the Run command in VS Code - the commands are Neo4j: Run Cypher Statement in a Read Transaction and Neo4j: Run Cypher Statement in a Write Transaction. As for the query itself (assuming the bracket comes after Organization) it should return something. Maybe try MATCH (n) RETURN count(n)?
Note the bracket doesn't come after Organization, I put the WHERE in the match as follows:
and you can see that's valid and returns something in neo4j browser. I'm new to neo4j so maybe I'm inadvertently using relatively new syntax.
But just to test if syntax was the issue here's the standard way:
with no result returned.
I can't really run
Match (n) Return count(n)
because we have billions of nodes and I don't want to break something. In the meantime, I'll see about finding/making a small test database for testing the connection.
I am able to interact with the database via the python driver in a vscode notebook, getting a correct result returned from a query as follows:
MATCH (n) RETURN count(n) will hit the count store rather than the graph itself so it should return instantly. I can see that the number is different there to your screenshot but the likelihood of a node having that internal ID is pretty high. Shall we have a quick call to investigate? Feel free to pick a slot here.