It's all about the answers!

Ask a question

SCM queries - no negation operator?


Steven Hovater (8410) | asked Jan 30 '19, 3:03 p.m.

 hi folks


Using the SCM queries in RTC API quite successfully, but I've run into a situation where I need to ask the repository for the file versions that don't have a given custom attribute. As I look through the operators available, I see "AND" and "OR" (which is great) but no "NOT".

ideas?

thanks,
Steve

One answer



permanent link
Ralph Schoon (61.4k33643) | answered Jan 31 '19, 3:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 Hi Steven,


It is unclear to me, what SCM query API you might use. It might well be that a Not operation is too expensive as this is not on a binary, but on sets of objects where the Not set could be infinite or not well defined.

You might want to create an enhancement request. As a work around, you could find all the elements A and subtract all the elements that do qualify QA. You want to bring down the size of A fast.

Your answer


Register or to post your answer.