Hi Folks,
A hopefully simple question!
With QSqlQuery a database can be updated with bound values eg:

Qt Code:
  1. QSqlQuery query;
  2. query.prepare("INSERT INTO people(ID,Name,Age) "
  3. "VALUES (?, ?, ?)");
  4. query.addBindValue(1);
  5. query.addBindValue("Fred Bloggs");
  6. query.addBindValue(21);
  7. query.exec();
To copy to clipboard, switch view to plain text mode 

How is this done with a QSqlQueryModel ?

Thanks