Details
-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
Description
It is possible to bind values with QSqlQuery::bindValue that are not in the actual query. And in case user makes a typo, a value is not used and is passed as NULL to the database.
There could be a function that checks that all placeholders in query are bound to, and perhaps even gives a list of those that aren't.