I'm using createQueryBuilder to construct queries in Symfony2. But, I don't want to take all columns in this entity. How can I select only the ID and Name?I'm using createQueryBuilder to construct queri
I'm using createQueryBuilder to construct queries in Symfony2. But, I don't want to take all columns in this entity. How can I select only the ID and Name?I'm using createQueryBuilder to construct queri