Hi,

the below is not exactly what i'm dealing with but gives an accurate picture.

So in neo4j i want to have nodes that represent 3D points. Let's say i'm importing them from a csv file which has loooots of them. I know that to speed up import, i can create a constraint. And I know how to do it using a single property, but here bacause i have 3D points, it would have to be a composite constraint (combining all 3 spatial coordinates). I'm using a community neo4j, so a composite constraint feature is not available.

i came up with the below - glue together the coordinates to create a unique code. but i wonder if there's anything more efficient, smarter etc ?

```
CREATE CONSTRAINT ON (p:3DPoint) ASSERT p.code IS UNIQUE;
:auto USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM 'file:///my3DPoints.csv' AS row
MERGE (p:3DPoint { x:toInteger(row.x), y:toInteger(row.y), z:toInteger(row.z), code:(row.x + ',' + row.y + ',' + row.z) }))
```

so any ways/tricks/hacks/workarounds to achieve what i want ? any help appreciated.

Thanks