computed properties


jaybr...@...
 

Is there a capability in any graph database system or query language to implement a computed property, i.e., a function/method that computes the value of a property based on other properties of the node or edge, or other nodes/edges in the datbase?

This would be much like a function method in object-oriented languages.  Rather than storing a value, the database would store the logic required to compute the value at any time.

Thank you,
Jay


Jason Plurad <plu...@...>
 

Answered over on gremlin-users https://groups.google.com/d/msg/gremlin-users/EdDFS8SCnHU/t4qHkhcRAwAJ


On Thursday, January 11, 2018 at 8:09:44 PM UTC-5, jaybraun2.0 wrote:
Is there a capability in any graph database system or query language to implement a computed property, i.e., a function/method that computes the value of a property based on other properties of the node or edge, or other nodes/edges in the datbase?

This would be much like a function method in object-oriented languages.  Rather than storing a value, the database would store the logic required to compute the value at any time.

Thank you,
Jay