if (!sqlTableModel)
getDataModel();
QString where = constructWhereByFilters(filters);
- qDebug() << "Constructing SQL with " << where;
+ //qDebug() << "Constructing SQL with " << where;
QString query = constructSelect(where);
sqlTableModel->setQuery(query);
}
if (++c < filters.count())
where.append(" AND ");
}
- qDebug() << "constructWhereByFilters: " << where;
+ //qDebug() << "constructWhereByFilters: " << where;
return where;
}
bool DbQueryModelManager::deleteDataObject(int id) const
{
QString sql = getDeleteObjectSql();
- qDebug() << sql;
+ //qDebug() << sql;
QSqlQuery q;
q.prepare(sql);
q.bindValue(":id", id);