I have set of sql queries already written and working fine in my website.
Now, i want to add 'where common condition clause' all of those queries. I don't wanna re write all my queries with this additional condition, instead i like do something by which it automatically applies to all queries run on my database from now on.
Is there any such method to do this?
MY Data base: MYSQL
MY website: PHP, YII