8

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.

sashoalm
  • 75,001
  • 122
  • 434
  • 781
SaMax
  • 169
  • 2
  • 10

0 Answers0