Revision ae331910
Von Christian Ehringfeld vor mehr als 10 Jahren hinzugefügt
| src/logger.cpp | ||
|---|---|---|
|
if (logQuery || !errorMsg.isEmpty()) {
|
||
|
const QString query = this->generateLogMsg(q);
|
||
|
if (!query.isEmpty()) {
|
||
|
qDebug() << query;
|
||
|
if (errorMsg.isEmpty()) {
|
||
|
qDebug() << query;
|
||
|
} else {
|
||
|
qWarning() << query;
|
||
|
}
|
||
|
stream << query;
|
||
|
}
|
||
|
}
|
||
| src/query.cpp | ||
|---|---|---|
|
*/
|
||
|
|
||
|
#include "query.h"
|
||
|
#include "orderby.h"
|
||
|
using namespace CuteEntityManager;
|
||
|
Query::Query() {
|
||
|
}
|
||
| src/query.h | ||
|---|---|---|
|
#include <QLinkedList>
|
||
|
#include "join.h"
|
||
|
#include "expression.h"
|
||
|
|
||
|
#include "orderby.h"
|
||
|
namespace CuteEntityManager {
|
||
|
class Condition;
|
||
|
class OrderBy;
|
||
Auch abrufbar als: Unified diff
fix