mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 00:53:48 +00:00
Add debug logging for SQL query execution during export process
This commit is contained in:
@@ -92,6 +92,9 @@ final readonly class ExportGenerator
|
||||
$this->logger->notice('[export] will execute this qb in export', [
|
||||
'dql' => $query->getDQL(),
|
||||
]);
|
||||
$this->logger->debug('[export] will execute this sql qb in export', [
|
||||
'sql' => $query->getQuery()->getSQL(),
|
||||
]);
|
||||
} else {
|
||||
throw new \UnexpectedValueException('The method `intiateQuery` should return a `\Doctrine\ORM\NativeQuery` or a `Doctrine\ORM\QueryBuilder` object.');
|
||||
}
|
||||
|
Reference in New Issue
Block a user