src/ReadModel/Index/Doctrine/DBALRepository.php
private function matchesIdAndEntityType()
    {
        $expr = $this->connection->getExpressionBuilder();

        return $expr->andX(
            $expr->eq('entity_id', ':entity_id'),
            $expr->eq('entity_type', ':entity_type')
        );
    }
private function matchesIdAndEntityType()
    {
        $expr = $this->connection->getExpressionBuilder();

        return $expr->andX(
            $expr->eq('entity_id', ':entity_id'),
            $expr->eq('entity_type', ':entity_type')
        );
    }
private function matchesIdAndEntityType ( ) { $ expr = $ this -> connection -> getExpressionBuilder ( ) ; return $ expr -> andX ( $ expr -> eq ( 'entity_id' , ':entity_id' ) , $ expr -> eq ( 'entity_type' , ':entity_type' ) ) ; }
Returns the WHERE predicates for matching the id and entity_type columns.

@return \Doctrine\DBAL\Query\Expression\CompositeExpression
Returns the WHERE predicates for matching the id and entity_type columns .