Why this code is not working?
Qt Code:
db.setDatabaseName("../database"); db.open(); query.exec("SELECT id FROM lesson");To copy to clipboard, switch view to plain text mode
code is running without any error but value which in message box is null. There is no result at query value.
Bookmarks