1
我想通過以下query.But使用POST
(r.pcrT = p.crT
)的crT
設置屬性pcrT
在LIKE
它不是working.Its在沒有創造財產pcrT
LIKE
。一個節點到另一個節點的Cypher查詢(Neo4j的)的設置屬性值
MATCH (n:USER{id:"372759437051554"}),(p:POST{id:"374210538678640"})
WHERE NOT (n)-[:POSTED]-(p)
MERGE (n)-[r:LIKE]-(p) ON
CREATE SET p.fcount = p.fcount + 1,
r.lat = 11.2,
r.lon = 11.2,
r.crT = timestamp(),
r.pcrT = p.crT
RETURN p,r;