1 year ago

#267046

test-img

fossildoc

QSqlTableModel list of transactions

I am writing a PyQt6 QSqlTableModel application. I'm using manual update and submitAll(). I want to capture the sql statements which were successfully executed. The executedQuery() method reports only the last query, but several may have been executed by submitAll(). There doesn't seem to be a way to step through the executed queries one at a time.

I can use brute force by tailing the database system log files, but I'd rather use a PyQt6 method.

Is there any way I can do this?

qsqlquery

qsqltablemodel

pyqt6

0 Answers

Your Answer

Accepted video resources