Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Creating a full path is possible? #14

Open
Micha-kun opened this issue Jan 5, 2015 · 0 comments
Open

Creating a full path is possible? #14

Micha-kun opened this issue Jan 5, 2015 · 0 comments

Comments

@Micha-kun
Copy link

From Neo4J docs:

Create a full path
When you use CREATE and a pattern, all parts of the pattern that are not already in scope at this time will be created.

Query

CREATE p =(andres { name:'Andres' })-[:WORKS_AT]->(neo)<-[:WORKS_AT]-(michael { name:'Michael' })
RETURN p

This query creates three nodes and two relationships in one go, assigns it to a path identifier, and returns it.

http://neo4j.com/docs/milestone/query-create.html#create-create-a-full-path

It's possible with CypherNet this query?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant