Conditionally update one vertex property when another property matches a certain provided value
Stack Overflow
Update Vertex Properties when property 'A' matches property 'B'
I have a vertex with meta properties on it, like below, and need to update the properties & the attached meta properties. When an Id matches the passed value on hasId the data needs to be updat...
1 Reply
Interesting question - it's not quite what I expected at first:
but I think that's just how metaproperties work. when you update a property with a
single
cardinality it's like removing the property and adding it back. when it is removed you effectively lose the related metaproperties with the old value. you'd have to add those back too. Rather than this sort of structure:
I think you'd want something more like:
@KelvinL any chance I'm missing something here in terms of how metaproperties work?