Skip to content

Return Node/Relationship from where method #870

@zakjan

Description

@zakjan

Hi,

Currently Node/Relationship.where method is implemented returning PatternElement. Can it return Node/Relationship, similar to Node/Relationship.withProperties?

This is to allow constructing such Node/Relationship in a separate method, to be able to use it where Node/Relationship is expected, not only in match clause.

The simplest way to do this seems to be moving PatternElement.where to ExposesProperties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions