PDA

View Full Version : SQL changed values stored?



jmqt
13th June 2009, 20:27
Quick Question: When editing a sql database does the changed values get stored somewhere upon submission eg. the cached example, if so? where?

Thanks

wysota
15th June 2009, 17:27
It depends how you use the database. In general you have to issue a query to change the database. If you're using a data model then all you need to do is to submit() the model, provided it is writable (i.e. it's not QSqlQueryModel).