Herunterladen als
root/src/schema/mysqlquerybuilder.h @ 827458ed
ed9ffe4a | Christian Ehringfeld | #ifndef MYSQLQUERYBUILDER_H
|
|
#define MYSQLQUERYBUILDER_H
|
|||
#include "../querybuilder.h"
|
|||
namespace CuteEntityManager {
|
|||
class MysqlQueryBuilder : public QueryBuilder
|
|||
{
|
|||
public:
|
|||
57d6da31 | Christian Ehringfeld | MysqlQueryBuilder(Schema *schema,
|
|
ed9ffe4a | Christian Ehringfeld | QSharedPointer<Database> database);
|
|
QString renameColumn(QString tableName, QString oldName,
|
|||
QString newName) const override;
|
|||
QString createIndex(QString name, QString tableName,
|
|||
QStringList columns,
|
|||
bool unique)const override;
|
|||
QString dropForeignKey(QString name, QString tableName) const override;
|
|||
protected:
|
|||
QString limit(const quint64 &limit, const quint64 &offset,
|
|||
bool withSpace = true) const override;
|
|||
};
|
|||
}
|
|||
#endif // MYSQLQUERYBUILDER_H
|