Hi,
I tried to search all documentation of QSqlQuery and QSqlResult, but I didn't find a way to output the query that Qt executed in my database.
I'm using a prepared statement, and binding the values, but I can't get the whole query(prepared with the placeholders replaced by their bound values).
QSqlQuery::lastQuery() and QSqlQuery::executedQuery() both give me the original prepared statement, with the placeholders...
There is a way to get the sql command?
I'm using QMYSQL...
Bookmarks