Revision 73f81d04
Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt
src/queryinterpreter.cpp | ||
---|---|---|
}
|
||
|
||
void QueryInterpreter::resolveRelations(Query &q, const QMetaObject *obj) {
|
||
q.getSelect();
|
||
q.getWhere();
|
||
q.getGroupBy();
|
||
q.getHaving();
|
||
QList<Expression> expressions;
|
||
expressions.append(q.getSelect());
|
||
expressions.append(q.getWhere());
|
||
expressions.append(q.getGroupBy());
|
||
expressions.append(q.getHaving());
|
||
this->resolve(q,obj,expressions);
|
||
}
|
||
|
||
QList<Expression> QueryInterpreter::resolve(Query &q, const QMetaObject *obj,
|
||
void QueryInterpreter::resolve(Query &q, const QMetaObject *obj,
|
||
QList<Expression> exp) {
|
||
}
|
||
|
src/queryinterpreter.h | ||
---|---|---|
QHash<QString, QVariant> ¶ms, QString &condition, int &start) const;
|
||
QVariant convertParamValue(const QVariant val) const;
|
||
void resolveRelations(Query &q, const QMetaObject *obj);
|
||
QList<Expression> resolve(Query &q, const QMetaObject *obj, QList<Expression> exp);
|
||
void resolve(Query &q, const QMetaObject *obj, QList<Expression> exp);
|
||
|
||
private:
|
||
QSharedPointer<AttributeResolver> ar;
|
Auch abrufbar als: Unified diff
...