Hi,
weiss jemand, wie ich von einer QSqlQuery and die query komme, die an die DB geht ?
Also nicht lastQuery()... Sondern die eigentlich SQL Message die generiert wird...
Gruss,
Nando
QT4.3.1: QSqlQuery query als QString bekommen.
Hiho,
Ciao,
Sephral
Code: Alles auswählen
QString QSqlQuery::executedQuery () const
Returns the last query that was executed.
In most cases this function returns the same string as lastQuery(). If a prepared query with placeholders is executed on a DBMS that does not support it, the preparation of this query is emulated. The placeholders in the original query are replaced with their bound values to form a new query. This function returns the modified query. It is mostly useful for debugging purposes.
See also lastQuery().Ciao,
Sephral