1
Suggestions and Requests / #Object# macro for Model Search
« on: October 17, 2012, 07:57:32 am »
A number of times I've wanted to use an object's ID when composing SQL searches in Model Search. The latest is "Get all objects whose classifier is X", where X is an object selected in the model.
To be consistent with the use of #Package#, I think it would be appropriate to use #Object#.
I want to be able to do this:
Is this needed enough to make a formal request?
To be consistent with the use of #Package#, I think it would be appropriate to use #Object#.
I want to be able to do this:
Code: [Select]
SELECT s.Name as ClassifierName, s.Stereotype as ClassifierStereotype, s.Object_type as ClassifierType, s.Object_ID as ClassifierId,
f.ea_guid AS CLASSGUID, f.Object_Type AS CLASSTYPE, f.Name as Name, f.Stereotype
FROM t_object s , t_object f
WHERE
f.Classifier_guid = s.ea_guid
and
s.Object_ID = #Object#
Is this needed enough to make a formal request?