SET node.timestamp = datetime($properties.timestamp)
To set a temporal type on a node
But, in general, I am setting lots of properties on the node. Before temporal types came along I was able to do:
SET node += $properties
or
CREATE (node:Type $properties)
How can I modify the $properties object in advance in order to set some temporal types and maintain the same (or very similar) cypher queries. Using the javascript bolt client
Have you tried creating instances like this and putting them in your maps and then sending those property maps to the server? What specific error do you get if you do?
Using the driver types actually works very nicely. I just wish it was documented that this behaviour is supported . Where should I raise that the documentation on parameters needs updating?