cql_s = format(' match (n) where id(n)=\'%s\' set n.City = \'%s\' return n' %(D_id, words[i] ))
try:
graph.run(cql_s)
except Exception as e:
print(e)
print(D_id)
目的是給n創建一個新的屬性并賦值,但是不成功,怎么回事?
uj5u.com熱心網友回復:
補充,原來沒有City這個屬性,是否用match不行?需要用merge嗎。試過,還是不成功。剛剛接觸,感謝大神轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/155037.html
標籤:疑難問題
上一篇:熊貓有幾個手指頭?
