Skip to content

Hydratation of object relationships using path #2473

@paulux84

Description

@paulux84

Hi,
I've created a query inside the repository to return a node with its nearest nodes, but only one of the relationships was marshalled inside returning object.
The query is the following:

    @Query("MATCH p=(n:Place)-[:HAS_SERVICE]->(:Service) WHERE NOT $date IN n.lockedDates " +
            "AND NOT EXISTS((:Order{date:$date})-[:TAKES_PLACE]->(n)) " +
            "RETURN p")
    List<Place> findPlaceFreeOnDate(LocalDate date);

spring-data-neo4j version 6.2.2-GH-2470-SNAPSHOT
Thanks

Metadata

Metadata

Assignees

Labels

status: feedback-reminderWe've sent a reminder that we need additional information before we can continuestatus: waiting-for-feedbackWe need additional information before we can continue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions