1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
#ifndef FORMATFOREIGNKEY_H
#define FORMATFOREIGNKEY_H
#include "formatstatement.h"
#include "parser/ast/sqliteforeignkey.h"
class FormatForeignKey : public FormatStatement
{
public:
FormatForeignKey(SqliteForeignKey* fk);
protected:
void formatInternal();
private:
SqliteForeignKey* fk = nullptr;
};
class FormatForeignKeyCondition : public FormatStatement
{
public:
FormatForeignKeyCondition(SqliteForeignKey::Condition* cond);
protected:
void formatInternal();
private:
void formatReaction();
SqliteForeignKey::Condition* cond = nullptr;
};
#endif // FORMATFOREIGNKEY_H
|