Skip to content

When query returns a collect() column, represent it as something easily convertable to array #176

@rulatir

Description

@rulatir

When a query returns a collect() column, the collection is (surprisingly!) returned as an instance of Everyman\Neo4j\Query\Row. This class seems neither convertible to an array without running a loop over it, nor does it work with functions like array_slice(). This complicates writing views.

Please add a toArray() method to Row.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions