Last active
August 29, 2015 14:27
-
-
Save e-vural/558c36de88b23578c638 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
$soft_delete_konular=$em->createQueryBuilder() | |
->select('s') | |
->from('CoreCommonBundle:Konu','s') | |
->where('s.isSoftDeleted =:delete') | |
->andWhere('s.gonderici =:gonderici OR 's.alici =:alici') | |
göndericisi x kişisi olan veya alıcısı x kişisi olan demek için OR araya konur | |
->setParameter('delete',1) | |
->setParameter('gonderici',$kimlik) | |
->setParameter('alici',$kimlik) | |
->getQuery() | |
->getResult(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment