Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to save data in the database("QSQLITE")?



  • I am using SQLite as database. I am able to connect to the database and i have also inserted data into the database but while running the application again i am not able to retrieve that information. So how can i make the information to last beyond the termination of the application ?



  • This is not how databases work. Data has been stored at the time a transaction has been committed. If it is not, there's something wrong with your code - which you may provide for further assistance.



  • [quote author="Lukas Geyer" date="1326110211"]This is not how databases work. Data has been stored at the time a transaction has been committed. If it is not, there's something wrong with your code - which you may provide for further assistance.[/quote]

    ok i will check my code if no solution i found i will post here.


Log in to reply