Created
June 24, 2016 11:44
-
-
Save e-vural/8174150a4348fa4354127484a6fe3cf7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$qb = $em->createQueryBuilder(); | |
$qb->update('CoreCorporateBundle:ClassroomMember', 'crm'); | |
$qb->set('crm.classroom','null'); | |
$qb->where('crm.classroom =:classroom'); | |
$qb->setParameter('classroom', $classroom); | |
$qb->getQuery()->execute(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment