Open sukhwinder33445 opened 2 years ago
There are now more cases coming up which require such a functionality. In Icinga DB Web this is generally a problem, because there are multiple tables which have a host_id
and a service_id
. For services, the host_id
is also set and so there's no way to differentiate host and service rows during a join.
Example: https://github.com/Icinga/icingadb-web/pull/1055#pullrequestreview-2312349206
There should be a method like Relation::additionalFilter() to join table.
Use case
In the partnerportal I join contracts to a customer. It would be nice to have an additional filter to join only non-archived contracts.
Example