Hello!

Usually I take the normal way to delete stuff from a database:

Qt Code:
  1. DELETE FROM BooksTemp WHERE id = 1;
To copy to clipboard, switch view to plain text mode 

But is there another way to delete the results of a QSqlQuery from the underlying SQL table, e.g. to query for stuff, do something to the data and remove it afterwards?

Something like

Qt Code:
  1. QSqlQuery::deleteFromTable();
To copy to clipboard, switch view to plain text mode 

Kind regards,
HomeR