Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 2ee5022f

Von Christian Ehringfeld vor fast 9 Jahren hinzugefügt

  • ID 2ee5022f3791de30be735d4977becb404e5f9329
  • Vorgänger 584721e5
  • Nachfolger b9dcff08

query stuff

Unterschiede anzeigen:

src/query.cpp
#include "query.h"
#include "condition.h"
using namespace CuteEntityManager;
Query::Query() {
this->select << "*";
......
}
void Query::appendCondition(const QString &condition) {
this->conditions.append(Condition(condition));
}
void Query::appendCondition(const Condition &condition) {
this->conditions.append(condition);
}
QLinkedList<Condition> Query::getConditions() const {
return conditions;
}
void Query::setConditions(const QLinkedList<Condition> &value) {
conditions = value;
}
void Query::setSelect(const QStringList &value) {
select = value;
......
void Query::setOffset(const uint &value) {
offset = value;
}
QLinkedList<QString> Query::getConditions() const {
return conditions;
}
void Query::setConditions(const QLinkedList<QString> &value) {
conditions = value;
}

Auch abrufbar als: Unified diff