Book a Demo

Author Topic: How can I refine my model search?  (Read 3385 times)

mse

  • EA User
  • **
  • Posts: 308
  • Karma: +1/-0
    • View Profile
How can I refine my model search?
« on: September 10, 2019, 12:54:22 am »
I have a search which narrows the results to interfaces, classes, actions, and activities. However, I need to limit those results to only certain packages. How can I do this? For example, in the below example, I only want those items that are in Package_A.

Package_A
   InterfaceA
   ClassA
   ...
Package_B
   InterfaceB
   ClassB

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How can I refine my model search?
« Reply #1 on: September 10, 2019, 02:23:58 am »
When using a SQL you can include
Code: [Select]
WHERE pkg.Package_id in (#Branch#)
which limits the result set to the currently selected package tree.

q.