8#ifndef SETSINGLEVALUE_H
9#define SETSINGLEVALUE_H
45 const QVariant& value,
46 const QString& primaryKey =
"id");
48 DBObject *createDBObject()
const override;
49 PrepareResult prepareUpdateQuery(QSqlQuery &q)
const override;
50 PrepareResult prepareInsertQuery(QSqlQuery &q,
bool replace)
const override;
52 bool fromSqlRecord(
const QSqlRecord &q)
override;
53 bool isCached()
const override;
55 QString table()
const override;
59 QString primaryKey()
const override;
60 QVariant primaryValue()
const override;
64 QVariant _primaryValue;
The DbAddress class use to work with database addresses. Database Address it is structure with 2 valu...
The DBObject class- main class for work with data base.
The SetSingleValue class This is simple class - request sets a single value into database.
#define HEARTSHARED_EXPORT
PrepareResult
The PrepareResult enum is result of work prepare sql query of dbobjects.
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...