关系名称为

时间:2018-08-13 13:34:51

标签: neo4j

我正在使用这个LOAD CSV脚本

LOAD CSV WITH HEADERS FROM "file:///data/toniher/gorels.csv" AS row FIELDTERMINATOR "\t" MATCH (c:GO_TERM {id:row.target}), (p:GO_TERM {id:row.source}) CREATE (c)-[: row.rel ]->(p) ;

但是row.rel不会在此位置转换

Invalid input '.': expected an identifier character, whitespace, relationship types, a length specification, a property map or ']' (line 2, column 170 (offset: 170))

是否要处理(例如转义)?

0 个答案:

没有答案