I want to find duplicate records and update the property isDuplicate
to yes
.
I am able to find duplicate records, couldn't find way to update the property.
g.V() \
.has("customerId") \
.group().by("customerId") \
.unfold() \
.toList()
The above query returns single records also. I want to remove them as well.
Here is one way to do it: