Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3160499c

Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt

  • ID 3160499ccda0138accf32cef2b9478b2a7dc6bd3
  • Vorgänger b9dcff08
  • Nachfolger 38838b5b

queryinterpreter/builder wip

Unterschiede anzeigen:

src/join.cpp
}
Join::Join(QString foreignTable, QString condition, QString type) {
this->foreignTable = foreignTable;
this->condition = Condition(condition);
this->type = type;
}
Join::Join(QString foreignTable, Condition condition, QString type) {
this->foreignTable = foreignTable;
this->condition = condition;
this->type = type;
......
foreignTable = value;
}
QString Join::getCondition() const {
Condition Join::getCondition() const {
return condition;
}
void Join::setCondition(const QString &value) {
condition = value;
QString Join::getMainCondition() const {
auto conditions = this->condition.getConditions();
if (!conditions.isEmpty()) {
return conditions.at(0);
} else {
return "";
}
}
void Join::setCondition(const Condition &value) {
condition = value;
}

Auch abrufbar als: Unified diff