Revision 9cf4747e
Von Christian Ehringfeld vor etwa 9 Jahren hinzugefügt
src/schema/mysqlschema.cpp | ||
---|---|---|
#include "mysqlschema.h"
|
||
#include <QSqlQuery>
|
||
using namespace CuteEntityManager;
|
||
|
||
MysqlSchema::MysqlSchema() : Schema() {
|
||
MysqlSchema::MysqlSchema(std::shared_ptr<Database> database) : Schema(database) {
|
||
|
||
}
|
||
|
||
... | ... | |
|
||
}
|
||
|
||
QHash<QString, QString>* MysqlSchema::getTypeMap() {
|
||
if(this->typeMap.data()->empty()) {
|
||
QHash<QString, QString> *MysqlSchema::getTypeMap() {
|
||
if (this->typeMap.data()->empty()) {
|
||
// this->typeMap->data()->insert(TYPE_SMALLINT, 'tinyint');
|
||
// this->typeMap->data()->insert(TYPE_SMALLINT, 'bit');
|
||
// this->typeMap->data()->insert(TYPE_BOOLEAN, 'boolean');
|
Auch abrufbar als: Unified diff
wip