# Homogeneous lists vs. heterogeneous lists

**URL:** <https://community.neo4j.com/t/homogeneous-lists-vs-heterogeneous-lists/67830>\
**Category:** Graph Academy\
**Created:** [May 9, 2024, 11:20am UTC](https://community.neo4j.com/t/homogeneous-lists-vs-heterogeneous-lists/67830 "2024-05-09T11:20:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zweite.tontaube](https://avatars.discourse-cdn.com/v4/letter/z/ccd318/32.png) [@zweite.tontaube](https://community.neo4j.com/u/zweite.tontaube)\
**Post date:** [May 9, 2024, 11:20am UTC](https://community.neo4j.com/t/homogeneous-lists-vs-heterogeneous-lists/67830/1 "2024-05-09T11:20:38Z")

</div>

[https://graphacademy.neo4j.com/courses/importing-cypher/3-types-lists-labels/3-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](https://neo4j.com/docs/cypher-manual/current/values-and-types/lists/)  
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...

---

<div class="post-metadata">

**Author:** ![glilienfield](https://sea1.discourse-cdn.com/flex021/user_avatar/community.neo4j.com/glilienfield/32/27534_2.png) [@glilienfield](https://community.neo4j.com/u/glilienfield)\
**Post date:** [May 9, 2024, 11:47am UTC](https://community.neo4j.com/t/homogeneous-lists-vs-heterogeneous-lists/67830/2 "2024-05-09T11:47:23Z")

</div>

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