Revision dbd41a3a
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/querybuilder.cpp | ||
---|---|---|
* You should have received a copy of the GNU Lesser General Public License
|
||
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||
*/
|
||
#include <QMetaObject>
|
||
#include <QRegularExpression>
|
||
#include <QStringList>
|
||
#include "querybuilder.h"
|
||
#include "database.h"
|
||
#include <QMetaObject>
|
||
#include "entity.h"
|
||
#include <QRegularExpression>
|
||
#include "entityinstancefactory.h"
|
||
#include "entityhelper.h"
|
||
#include "logger.h"
|
||
... | ... | |
}
|
||
|
||
QString QueryBuilder::placeHolder(const QString &key) const {
|
||
return QString(":" + key);
|
||
QString nKey = key;
|
||
nKey.replace(".","_");
|
||
return QString(":" + nKey);
|
||
}
|
||
|
||
QString QueryBuilder::where(const QHash<QString, QVariant> &m,
|
Auch abrufbar als: Unified diff
...