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

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -