标签: python neo4j
calloc(sizeof(int[rows][cols]), 1)
答案 0 :(得分:2)
为避免ConstraintViolationException,您可以使用APOC程序apoc.schema.assert来确保所有"架构" (索引和约束)你需要存在。
ConstraintViolationException
有一个如何在this section of the APOC documentation中间使用apoc.schema.assert的示例。
apoc.schema.assert