- πΊπΈUnited States bluegeek9
The solution is to use a use two different services. This is an example from core.
entity.query.sql: class: Drupal\Core\Entity\Query\Sql\QueryFactory arguments: ['@database'] tags: - { name: backend_overridable } pgsql.entity.query.sql: class: Drupal\Core\Entity\Query\Sql\pgsql\QueryFactory arguments: ['@database']