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

Popular posts from this blog

How to logout from a login page in asp.net -

Stack level too deep error after upgrade to rails 3.2 and ruby 1.9.3 -