Contains static information about a specific SqlBoundObjectGroup class. Is used to capture data shared at the class level that cannot be specified statically.
#include <DataAnalysis/DataStructures/sqlboundobjectclassdata.h>
◆ SqlBoundObjectClassData() [1/2]
◆ SqlBoundObjectClassData() [2/2]
- Parameters
-
getBoundTableName | Pointer to getBoundTableName() function |
◆ clearCachedData()
Clears cached data that is generated during fetch requests.
◆ getAutoIncrementFieldNames()
◆ getFieldNames()
◆ getNonRelationFieldAliases()
◆ getNonRelationFieldNames()
◆ getPrimaryKeyFieldNames()
◆ getRelationFieldNames()
QStringList getRelationFieldNames |
( |
bool |
recursive | ) |
const |
- Parameters
-
recursive | Return all the relation field names, including those of related classes. If false, the method will return only those attached to this class. |
- Returns
- A QStringList of relation field names, optionally including those from related classes.
◆ getSqlValidFieldList()
◆ registerAutoIncrementField()
void registerAutoIncrementField |
( |
const QString & |
name | ) |
|
◆ registerFieldName()
void registerFieldName |
( |
const QString & |
name | ) |
|
◆ registerPrimaryKeyFieldName()
void registerPrimaryKeyFieldName |
( |
const QString & |
name | ) |
|
◆ registerPrimaryKeyFieldNames()
void registerPrimaryKeyFieldNames |
( |
const QStringList & |
names | ) |
|
- Parameters
-
names | The field names to register |
◆ registerRelation()
- Parameters
-
fieldName | Name of the field against which the relation will be registered |
relation | The relation object representing the relation |
◆ tableName()
QString tableName |
( |
| ) |
const |