Revision 24425325
Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt
src/schema/sqliteschema.cpp | ||
---|---|---|
|
||
}
|
||
|
||
QHash<QString, QString> *SqliteSchema::getTypeMap() {
|
||
QSharedPointer<QHash<QString, QString>> SqliteSchema::getTypeMap() {
|
||
if (this->typeMap.data()->empty()) {
|
||
this->typeMap.data()->insert(TYPE_SMALLINT, "tinyint");
|
||
this->typeMap.data()->insert(TYPE_BOOLEAN, "boolean");
|
||
... | ... | |
this->typeMap.data()->insert(TYPE_TIME, "time");
|
||
this->typeMap.data()->insert(TYPE_TIMESTAMP, "timestamp");
|
||
}
|
||
return this->typeMap.data();
|
||
return this->typeMap;
|
||
}
|
||
|
||
QStringList SqliteSchema::findTableNames(QString schema) {
|
Auch abrufbar als: Unified diff
wip