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.
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.