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.
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.