Important: Please read the Qt Code of Conduct -

Using QsqlDatabase::transition();

  • Hi,

    I want to use the function transition to revert all changes after a commit has failed. Ihave looked in the Qt 5 documentation but i can't find if i need to call it before changing the model or just before submit. Or what the difference is.

Log in to reply