Shekar,
I was trying to do something similiar to what you are trying to do and 
couldn't find a good/reliable way to do it in py2neo. I had to write my own 
merge function to py2neo builders. 
that is my question on stackoverflow 
http://stackoverflow.com/questions/30843003/py2neo-constructing-graph-using-cypher-builders
No one answered and I had to write the merge function. You can find the 
patched version of py2neo on my github here
https://github.com/the-st0rm/py2neo
If you have any questions please do not hesitate to ask me 

On Wednesday, June 17, 2015 at 9:21:08 AM UTC+3, Shekar Tippur wrote:
>
> Hello,
> I want to create an object only when 2 attributes of the object are unique
>
> For example
>
> the object is
>
> Person{"Name":"Shekar", "Address":"abc123", "kids":"3"}
>
> I want to create this node only if name and address do not match with ore 
> existing records.
>
> I was trying graph.schema.create_uniqueness_constraint("Person", "Name"). 
> How do I extend this to include address as well.
>
> - Shekar
>

-- 
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.

Reply via email to