This is a super early super alpha super use this as a starting point example of using the Neo4j-Driver nuget package
within a VSTO (Visual Studio Tools for Office) application (in this case Excel).
This is mainly just a proof of concept at the moment.
- Server location is hard coded (to
bolt://localhost) - The Column results are put into is hard coded (to
A) - The Column retrieved from the Cypher is hard coded (to
UserId)
Clone the code, open in Visual Studio, and Run. This will start up Excel and then simply click on the 'Add-ins' menu in the
ribbon. You will need to provide Cypher that returns a single column with the alias of UserId for example:
MATCH (u:User) RETURN u.Id AS UserId LIMIT 10
or
MATCH (h:House) RETURN h.Address AS UserId
This is due to the hard coding of the column retrieved.
