I've looked at a bunch of examples in Go showing how to read and write data to a neo4j db, however, those examples are working with pretty basic data/queries.
Is there a more "Go" way of inserting data that comes in a struct like this:
I've been able to do it by basically building/appending to a string. Is there a more idiomatic way of handling more complex data or is the only option for string parsing?
As a result, everything is passed as a parameter and you don't need any more string interpolation.
There are some discussions in the drivers team to ease the conversion of structs to parameters, but they are just experiments at this point and may or may not ship at some point in the future.
That is WAY cleaner then what I was doing, lol! Thanks a lot for the suggestion, I appreciate it. It looks like I have to add in a WITH statement and pass in p between the first CREATE and UNWIND.
Still new to Neo4j and Cypher but really enjoying it so far!