I was wondering if there is a way to prevent SQL injection while using QSqlTableModel::setFilter and no validation for WHERE clause Condition.
I don't want to use QSqlQueryModel since I need edit functionality.
I was wondering if there is a way to prevent SQL injection while using QSqlTableModel::setFilter and no validation for WHERE clause Condition.
I don't want to use QSqlQueryModel since I need edit functionality.