soarce-qa / soarce-application

MIT License
2 stars 1 forks source link

functionIds are not a valid WHERE or IN criterion everywhere #19

Closed hsegnitz closed 4 years ago

hsegnitz commented 4 years ago

As function calls are de-normalized, we need to make it either at least two queries or an elaborate subselect.

More detail: a SELECTbox with function IDs is generated by SELECT * from function_calls f WHERE 1 GROUP BY f.class, f.function. Whatever the f.id is, it becomes the value of the SELECTbox. By that, using the ID to filter, we'll indirectly filter also the request and application in which the function was recorded - and not just class and function name.

So, we'll use the ID to get class and function name first and filter by that.

hsegnitz commented 4 years ago

should be fixed with #25