Hi Michael,
Based on your advice I changed my query to:
MATCH (fromCard:Card { name: 'Hearts'}),(toCard:Card{ name: 'Spades'})
CREATE UNIQUE (fromCard)-[r:DECK_INCIDENCE]-(toCard)
SET r.passCount = coalesce(r.passCount, 0) +1
I deleted one of the relationships and surely enough which ever orde
MERGE without arrows were added and will be available in the next release.
Until then try to replace that last merge with CREATE UNIQUE
Michael
Am 20.02.2014 um 23:30 schrieb Ben Titmarsh :
> I'd bluffed myself into thinking that I'd solved this but actually I hadn't.
> This is my cypher:
>
I'd bluffed myself into thinking that I'd solved this but actually I
hadn't. This is my cypher:
MATCH (fromCard:Card { name: {fromCardName}}),(toCard:Card{ name:
{toCardName}})
MERGE (fromCard:Card)-[r:DECK_INCIDENCE]->(toCard:Card)
SET r.passCount = coalesce(r.passCount, 0) +1
For each pair o
Cool Ben.
G: neubauer.peter
S: peter.neubauer
P: +46 704 106975
L: http://www.linkedin.com/in/neubauer
T: @peterneubauer
Neo4j 2.0.0 - (graphs)-[:FOR]->(everyone)
Kids LAN creative party in Malmö - Kidscraft ICE
On Wed, Feb 12, 2014 at 1:45 PM, Ben Titma
Ah my mistake! Didn't qualify my match with the property that I was
matching on! This works:
MATCH (fromCard:Card { name: {fromCardName}}),(toCard:Card{ name:
{toCardName}})
MERGE (fromCard:Card)-[r:DECK_INCIDENCE]->(toCard:Card)
SET r.deckCount = coalesce(r.deckCount, 0) +1
On Wednesday, Fe