I get error while passing parameter as property name. I did not get any error while passing parameter as property value by writing {param}. But this is not working in the case of passing parameter as property name.
Here is my code.
query = 'Merge(c1:Customer{user_id: {user_id1},{user_id2}:{cell}})'
g.run(query, user_id1=int(row['user_id']), user_id2=str(cidx),cell=cell)
Here cidx, cell, row['user_id']
are parameters.
{user_id1}
parameter is working.
But it does not take {user_id2}
as parameter to add property name