I have searched everywhere, but cannot find the answer to this.
I need to create a node Config that has a dynamic properties object with 2 key/value pairs (for example, name and type). The keys, when queried, should end up as properties.name and properties.type. But I cannot seem to get the create syntax right. This is what I'm doing:
CREATE (c1:Config) set c1.properties=[{name:"CiPipelineConfig1"}, {type:"test"}]
But that gives me some weird error:
Neo.ClientError.Statement.TypeError: Neo4j only supports a subset of Cypher types for storage as singleton or array properties.
Can anyone help me figure this query out?