Hello!
I need a hint for a scenario with a tree structure and data inheritance.
There is a simple node hierarchy with a parent-children relationship:
Parent node:
{
'name' : 'parentNode',
'color' : {
inheritable : true,
'value' : 'red'
},
'speed' : {
inheritable : false,
'value' : 'fast'
}
}
Child node:
{
'name' : 'childNode',
'amount' : 10
}
The result of the query for this childNode should look like this:
{
'name' : 'childNode',
'color' : {
inheritable : true,
'value' : 'red'
},
'amount' : 10
}
The property 'color' should be inherited from the parentNode, because of
the structure and the inheritable flag.
How could the real structure and a query for this look like?
Thanks a lot!
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" 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.