0
我想以更新row..Please幫助下,兩列...Symfony2中:我想在一排設置兩個列學說查詢
$qb = $this->createQueryBuilder('b')
->update()
->set('b.user1', $user,'b.tempid', $user1)
->where('b.id ='.$id);
這給我查詢
UPDATE Shopper\ShopBundle\Entity\Items b SET b.user1 = 1 WHERE b.id =213
是啊,工作組單獨的一個聲明.... – AppleWhite