[Solved] How correctly save data table to DB?
-
I use QSQLITE. Open DB, dispaly in table, make change, close programm. How correctly save data table to DB?
-
find answer
@model->database().transaction();
if (model->submitAll()) {
model->database().commit();
model->select();
} else {
model->database().rollback();}@
-
I read the title and assumed you meant blueray disc... Only when reading the question itself I realized that you probably meant database:-)