kexi
KexiDB::AlterTableHandler::RemoveFieldAction Class Reference
#include <alter.h>
Inheritance diagram for KexiDB::AlterTableHandler::RemoveFieldAction:

Detailed Description
Defines an action for removing a single table field.
Definition at line 289 of file alter.h.
Public Member Functions | |
RemoveFieldAction (const QString &fieldName, int uid) | |
RemoveFieldAction (bool) | |
virtual | ~RemoveFieldAction () |
virtual QString | debugString (const DebugOptions &debugOptions=DebugOptions()) |
virtual void | simplifyActions (ActionDictDict &fieldActions) |
virtual tristate | updateTableSchema (TableSchema &table, Field *field, QMap< QString, QString > &fieldMap) |
Protected Member Functions | |
virtual void | updateAlteringRequirements () |
virtual tristate | execute (Connection &conn, TableSchema &table) |
Member Function Documentation
void AlterTableHandler::RemoveFieldAction::simplifyActions | ( | ActionDictDict & | fieldActions | ) | [virtual] |
Legend: A,B==objects, P==property, [....]==action, (..,..,..) group of actions, <...> internal operation. Preconditions: we assume there cannot be such case encountered: ([remove A], [do something related on A]) (except for [remove A], [insert A]) General Case: it's safe to always insert a [remove A] action.
- Todo:
- not checked
Reimplemented from KexiDB::AlterTableHandler::ActionBase.
void AlterTableHandler::RemoveFieldAction::updateAlteringRequirements | ( | ) | [protected, virtual] |
tristate AlterTableHandler::RemoveFieldAction::execute | ( | Connection & | conn, | |
TableSchema & | table | |||
) | [protected, virtual] |
Performs physical execution of this action.
Reimplemented from KexiDB::AlterTableHandler::ActionBase.
The documentation for this class was generated from the following files: