How to delete results of QSqlQuery from table ?
Hello!
Usually I take the normal way to delete stuff from a database:
Code:
DELETE FROM BooksTemp WHERE id = 1;
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
Kind regards,
HomeR
Re: How to delete results of QSqlQuery from table ?
What's wrong with the "normal" way using the same SQL where clause?
Re: How to delete results of QSqlQuery from table ?
Quote:
What's wrong with the "normal" way using the same SQL where clause?
Nothing at all, I just want to know if such a function exists.