I want to get an array of values from the id column of the Auction table. If this was a raw SQL I would write:
SELECT id FROM auction
But w
I think it's impossible in Doctrine. Just transform result array into the data structure you want using PHP:
$transform = function($item) { return $item['id']; }; $result = array_map($transform, $em->createQuery("SELECT a.id FROM Auction a")->getScalarResult());