10 #ifndef GUARD_DBRECORD_H_INCLUDE
11 #define GUARD_DBRECORD_H_INCLUDE
13 #include <dbstruct/dbstruct-config.h>
31 typedef QMap<QString, QVariant> DbRecMap;
92 QSqlQuery & query)
const = 0;
101 const QSqlQuery & query) = 0;
106 const QSqlRecord & rec) = 0;
111 const DbRecMap & map) = 0;
130 #endif // GUARD_DBRECORD_H_INCLUDE
virtual void setId(long)
Set the index to given value (if the model has an id column).
Definition: dbrecord.h:115
A record in a database.
Definition: dbrecord.h:34
Definition: dbobject.h:38
virtual DbObject::Type type() const
The type of this object.
Definition: dbrecord.h:46
virtual bool isNew() const
Tell if this instance is a new one or it has a database correspondent.
Definition: dbrecord.h:79
Declarations for DbColumn class.
A table in a database.
Definition: dbtable.h:22
Declarations for DbObject class.
Type
The types of objects that use this class as a base.
Definition: dbobject.h:33
A table or view in a database.
Definition: dbtaew.h:24