11-20-2019, 07:24 PM
Hello, Remko!
I know that You have 10 dan black belt in tactic, and expected some black magic from Tou, and there it is. Now everything working as expected, and i learned some new Schema features. Thanks a lot!
This is what i did:
<connect from="dolly3d/assets_in_assets" to="dolly3d/assets" from_node="dolly3d/assets_in_assets" to_node="dolly3d/assets" relationship="code" from_col="parent_assets_code" to_col="code" path="parent"/>
<connect from="dolly3d/assets_in_assets" to="dolly3d/assets" from_node="dolly3d/assets_in_assets" to_node="dolly3d/assets" relationship="code" from_col="child_assets_code" to_colr="code" path="child"/>
And now this returning me what i need:
server.set_project('dolly3d')
skey = ['dolly3d/assets?project=dolly3d&code=ASSETS00577']
server.eval("@SOBJECT(parent:dolly3d/assets_in_assets.child:dolly3d/assets)", search_keys=skey)
I know that You have 10 dan black belt in tactic, and expected some black magic from Tou, and there it is. Now everything working as expected, and i learned some new Schema features. Thanks a lot!
This is what i did:
<connect from="dolly3d/assets_in_assets" to="dolly3d/assets" from_node="dolly3d/assets_in_assets" to_node="dolly3d/assets" relationship="code" from_col="parent_assets_code" to_col="code" path="parent"/>
<connect from="dolly3d/assets_in_assets" to="dolly3d/assets" from_node="dolly3d/assets_in_assets" to_node="dolly3d/assets" relationship="code" from_col="child_assets_code" to_colr="code" path="child"/>
And now this returning me what i need:
server.set_project('dolly3d')
skey = ['dolly3d/assets?project=dolly3d&code=ASSETS00577']
server.eval("@SOBJECT(parent:dolly3d/assets_in_assets.child:dolly3d/assets)", search_keys=skey)