Closed aaramg closed 4 years ago
Since we are in a migration process to the original Spring Data Neo4j and have to archive this repository, the issue also go migrated to: https://jira.spring.io/browse/DATAGRAPH-1345 Please watch or comment on the issue in Jira for further communication.
It would be nice to have
@OrderBy
annotation specifying the ordering of the elements of a@Relationship
collection.For example:
This would perform the ordering at the DB level by firstName then lastName with ASC. I know that we can do it programmatically with SortedSet but I guess DB level is a much more great way of doing this.
A
LinkedHashSet
preserves order based on insertion order that is why I used that one.