Reputation: 841
Is there any way to get dql alias for entity which doctrine adds to entity field names when uses scalar hydration?
Upvotes: 3
Views: 1051
Reputation: 12721
<?php
$query = Doctrine_Query::create()
// build your query and then call
$query->getTableAliasMap();
?>
Upvotes: 3