标签: mysql doctrine-orm doctrine-query
我想知道是否可以使用空格别名列名称
$query = "SELECT u.firstName AS 'First Name' FROM User u"; $result = $query->getResult( Query::HYDRATE_ARRAY );