📜  从 csv neo4j 限制导入 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:01.932000             🧑  作者: Mango

代码示例1
//answer by: Fabio Lamanna go upvote him
You can limit the rows you want to import with:

USING PERIODIC COMMIT
LOAD CSV WITH HEADERS 'file:///yourcsvfile.csv' AS row
WITH row LIMIT 1000

...
and then continue with your usual import Cypher statements.
This will read only the first 1000 lines of your file.