In my go application, I'm trying to execute a MERGE query, using the golang-neo4j-bolt-driver.
The interface of the ExecNeo
and ExecPipeline
requires a string map with interface object as a parameter. When executing the query, I get the error message that a literal map
is required:
Internal Error(messages.FailureMessage): messages.FailureMessage{Metadata:map[string]interface {}{"code":"Neo.ClientError.Statement.SyntaxError", "message":"Parameter maps cannot be used in MERGE patterns (use a literal map instead`).
Does anyone have an example of creating an literal map?