Hello again!
I did some changes to schema and my stypes:
server.set_project("dolly3d")
skey = ["dolly3d/assets?project=dolly3d&code=ASSETS00577"]
assets = server.eval("@SOBJECT(dolly3d/assets.parent:dolly3d/assets_in_assets.child:dolly3d/assets)", skey)
The assets result is asset on with given search key. A am doing somethig wrong?
server.eval("@SOBJECT(dolly3d/assets['code', 'ASSETS00577'].parent:dolly3d/assets_in_assets.child:dolly3d/assets)")
Giving me proper results though
I did some changes to schema and my stypes:
Code:
<schema>
<search_type name="dolly3d/assets" xpos="303" ypos="236"/>
<search_type name="dolly3d/assets_in_assets" xpos="622" ypos="445"/>
<connect from="dolly3d/assets" to="dolly3d/assets" instance_type="dolly3d/assets_in_assets" relationship="instance"/>
<connect from="dolly3d/assets_in_assets" to="dolly3d/assets" relationship="code" from_col="parent_assets_code" to_col="code" path="parent" type="many_to_many"/>
<connect from="dolly3d/assets_in_assets" to="dolly3d/assets" relationship="code" from_col="child_assets_code" to_col="code" path="child" type="many_to_many"/>
</schema>
skey = ["dolly3d/assets?project=dolly3d&code=ASSETS00577"]
assets = server.eval("@SOBJECT(dolly3d/assets.parent:dolly3d/assets_in_assets.child:dolly3d/assets)", skey)
The assets result is asset on with given search key. A am doing somethig wrong?
server.eval("@SOBJECT(dolly3d/assets['code', 'ASSETS00577'].parent:dolly3d/assets_in_assets.child:dolly3d/assets)")
Giving me proper results though