标签:turn merge ret return import 使用 use neo4j div
官网样例
// Create orders LOAD CSV WITH HEADERS FROM ‘https://gist.githubusercontent.com/jexp/054bc6baf36604061bf407aa8cd08608/raw/8bdd36dfc88381995e6823ff3f419b5a0cb8ac4f/orders.csv‘ AS row MERGE (order:Order {orderID: row.OrderID}) ON CREATE SET order.shipName = row.ShipName;
如果是本地使用下面(orders.csv提前放到import/)
// Create orders LOAD CSV WITH HEADERS FROM ‘file:///orders.csv‘ AS row MERGE (order:Order {orderID: row.OrderID}) ON CREATE SET order.shipName = row.ShipName;
查看
MATCH (o:Order) return o LIMIT 5;
标签:turn merge ret return import 使用 use neo4j div
原文地址:https://www.cnblogs.com/soymilk2019/p/14864202.html