Homogeneous lists vs. heterogeneous lists

https://graphacademy.neo4j.com/courses/importing-cypher/3-types-lists-labels/3-lists/
All values in a list must have the same data type.

And from Lists - Cypher Manual
It is possible to store homogenous lists of simple values as properties.
-> ...not heterogeneous ones

Conclusion by me: you can RETURN values and by collecting create a list of heterogeneous types - but you cannot save this list as properties.
But how about processing WITH...

creating a heterogeneous list in a WITH clause is fine. You just can’t save as a property.

1 Like