php - Symfony 1.4 default query condition possible with Doctrine -
we added new column database called is_active , have modify whole code in symfony 1.4 , doctrine.. query entries match condition.
i know in yii there defaultscope applied everytime automatically when query database. there in symfony.
thanks lot in advance
you have created getwhateverscopequery() in modeltable class, , set condition there, it's little late. better late never ;)
Comments
Post a Comment