Cypher语句

字符串转换成日期:

1 MATCH (p:Person)
2 SET p.born = CASE p.born WHEN "" THEN null ELSE date(p.born) END
3 WITH p
4 SET p.died = CASE p.died WHEN "" THEN null ELSE date(p.died) END

 

posted @ 2022-05-30 18:55  博二爷  阅读(64)  评论(0编辑  收藏  举报