Hi Gallagher,
If at the time of creation of nodes, you use the following query, then I
hope you will achieve your requirement.
MERGE (node:Node {id: {id}})
ON CREATE SET ode.name = {name}, node.address = {address}
RETURN node;
-Sukaant Chaudhary
<http://in.linkedin.com/pub/sukaant-chaudhary/33/ba8/479>
On Fri, Feb 27, 2015 at 8:22 AM, Gallagher Polyn <[email protected]>
wrote:
> After loading a messy CSV dataset, I have many nodes with the same unique
> ID.
>
> I'd like to use Cypher to remove all duplicate nodes, where my basis for
> determining duplication would be comparing one field, namely,
> 'some-unique-id'.
>
> How can I accomplish the above with Cypher?
>
> Thanks,
>
> Gallagher
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.