I want to make it so that it is not possible to perform queries that use literals in the conditions.
So this would become impossible and would throw an exception:
$conditions = "name = 'bob' AND type = 'megabot'";
It would be required to use bound parameters like this.
$conditions = "name = :name: AND type = :type:";
The reason that I need this is that I'm creating a layer above model that will interpret all of the find parameters. I have create four tables that will represent all user data and in this scheme some queries are invalid and features are present that will be represented with a semi-custom syntax or at least with special aliases and names. It will make my life a lot easier if I can ensure that only certain name parameters are used and that anything else which is added will result in some sort of exception.
So an option that disallowed string literals would be great.