Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-12-2020 11:32 AM
I would like stream the result from the :style
command into a .NET/C# application. I can make the connection. I would like to be able to read the contents of the neo4j.grass style sheet using a Neo4J.Driver.GraphDatabase
session.
If I knew where the file was stored, I could read it from disk, but that is not optimal as it only works for localhost databases. It doesn't deploy.
Hopefully :style
isn't only available from the Neo4J Browser.
Regards,
James Mireles
Houston, TX
07-13-2020 02:45 AM
Hi James,
Unfortunately :style
is only available in the browser, pretty much all the :
beginning ones are.
There is no Cypher called when executing the command, you can tell this if you turn on the Query.Log
in your settings and run :styles
in the browser.
The driver can only send Cypher across, so you're stuck there.
Largely - this makes sense as the styles are only used by the Browser, they're not integral to the database itself.
All the best
Chris
07-13-2020 09:14 AM
Thanks, @charlotte.skardon. Do you know where in the database the neo4j.grass file is stored?
07-14-2020 02:02 AM
It's not stored in the database, but in localstorage - and the actual file is returned on the fly when you run :style
.
😞
All the sessions of the conference are now available online