« 回到AAU Project

"AQL" Queries and ADO Script

組合檢視 平均檢視 瀏覽樹狀資料
相關串連 [ 前一個 | 下一個 ]
toggle
"AQL" Queries and ADO Script
答覆
2015/7/2 上午 8:19
First thank you for your support all the time,
My question is, suppose that I have a parent class "Operation" and the subclasses of Operation are "Behavioral Unit", "Behavioral Makro". In my model all objects are instances of the these classes.
I need to get Ids of all objects except the ones from class "Behavioral Unit".

I tried this query but it did not work, I think there is a syntax problem:

  SET aqlGetPredecessorsForObj: ("(<\"Operation\">)+DIFF+(<\"Behavioral Unit\">)")
  CC "AQL" EVAL_AQL_EXPRESSION expr: (aqlGetPredecessorsForObj) modelid: (nGraphModelID)
  SETL lGraphNodeIDs: (objids)

Would you help please?

RE: "AQL" Queries and ADO Script
答覆
2015/7/2 上午 5:41 作為回覆給Fadi Al Machot
Dear Fadi,
Thank you for your question. If you delete the two '+' from your query expression than it should work.

like:
1SET aqlGetPredecessorsForObj: ("(<\"Operation\">)DIFF(<\"Behavioral Unit\">)")
2  CC "AQL" EVAL_AQL_EXPRESSION expr: (aqlGetPredecessorsForObj) modelid: (nGraphModelID)
3  SETL lGraphNodeIDs: (objids)