You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Handle switching API domain
This commit is contained in:
@ -131,13 +131,13 @@ bool Database::commit() {
|
||||
}
|
||||
|
||||
bool Database::execQuery(QSqlQuery &query) {
|
||||
qDebug().noquote() << "SQL:" << query.lastQuery();
|
||||
// qDebug().noquote() << "SQL:" << query.lastQuery();
|
||||
|
||||
QMapIterator<QString, QVariant> i(query.boundValues());
|
||||
while (i.hasNext()) {
|
||||
i.next();
|
||||
qDebug().noquote() << "SQL:" << i.key() << "=" << i.value().toString();
|
||||
}
|
||||
// QMapIterator<QString, QVariant> i(query.boundValues());
|
||||
// while (i.hasNext()) {
|
||||
// i.next();
|
||||
// qDebug().noquote() << "SQL:" << i.key() << "=" << i.value().toString();
|
||||
// }
|
||||
|
||||
return query.exec();
|
||||
}
|
||||
|
Reference in New Issue
Block a user