Skip to content

Cypher : Adding APOC Procedures ? #3256

@ExtReMLapin

Description

@ExtReMLapin

Since we now have control over cypher, how insane would it sound to integrate apoc and apoc extended procedures ?

https://github.com/neo4j/apoc

https://github.com/neo4j-contrib/neo4j-apoc-procedures

I'm not expecting to be able to run some procedures like apoc.cypher.run but some others like apoc.text.indexOf (which already has it's equivalent available in cypher since we have something equivalent in SQL) or even apoc.merge.relationship which allows to do stuff like :

        UNWIND $batch AS row
        MATCH (a), (b) WHERE elementId(a) = row.source_id AND elementId(b) = row.target_id
        CALL apoc.merge.relationship(a, row.rel_type, {}, row.props, b)
        YIELD rel
        RETURN elementId(rel) as id

I'm far from being good enough at java to understand the possible inter-dependencies between APOC and Neo4J

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions