Wednesday, 15 May 2013

cypher - Set Neo4j Uniqueness to NODE_PATH with Neo4jClient -



cypher - Set Neo4j Uniqueness to NODE_PATH with Neo4jClient -

in order prevent path including same node more once, i'm looking able set uniqueness node_path either using .net neo4jclient or @ database level in 1 of database config files (which, lastly heard, wasn't possible).

if can done, i'm solve problem well:

cypher query in neo4j returns 'undefined'

thanks help!

brent

brent,

you utilize cypher's create unique clause create relationship:

http://docs.neo4j.org/chunked/1.9.m05/query-create-unique.html#create-unique-create-relationship-if-it-is-missing

if exists, won't anything.

-- tatham

neo4j cypher neo4jclient

No comments:

Post a Comment