I want to update a two columns in a row..Please help...
$qb = $this->createQueryBuilder('b')
->update()
->set('b.user1', $user,'b.tempid', $user1)
->where('b.id ='.$id );
this give me the query
UPDATE Shopper\ShopBundle\Entity\Items b SET b.user1 = 1 WHERE b.id =213