Doctrine 2 dql alias

Is there a way to get a dql alias for an object that the doctrine adds to entity field names when using scalar hydration?

+3
source share
1 answer
<?php
$query = Doctrine_Query::create()
// build your query and then call
$query->getTableAliasMap();
?>
+3
source

Source: https://habr.com/ru/post/1772804/


All Articles