HDK
|
#include <UT_ORMMigrationBuilder.h>
Public Member Functions | |
UT_ORMMigration (const UT_StringHolder &model_name, const UT_StringHolder &name) | |
~UT_ORMMigration ()=default | |
UT_NON_COPYABLE (UT_ORMMigration) | |
UT_ORMCreateTableOperation & | createModel (const UT_StringHolder &table_name) |
UT_ORMDropTableOperation & | dropModel (const UT_StringHolder &table_name) |
UT_ORMAddFieldOperation & | addField (const UT_StringHolder &model_name, UT_ORMColumn &&col) |
UT_ORMRenameFieldOperation & | renameField (const UT_StringHolder &model_name, const UT_StringHolder &cur_name, const UT_StringHolder &new_name) |
UT_ORMRemoveFieldOperation & | removeField (const UT_StringHolder &model_name, const UT_StringHolder &name) |
Public Attributes | |
const UT_StringHolder | myModelName |
const UT_StringHolder | myName |
UT_Array< UT_UniquePtr < UT_IORMOperation > > | myOperations |
Definition at line 98 of file UT_ORMMigrationBuilder.h.
|
inlineexplicit |
Definition at line 101 of file UT_ORMMigrationBuilder.h.
|
default |
UT_ORMAddFieldOperation& UT_ORMMigration::addField | ( | const UT_StringHolder & | model_name, |
UT_ORMColumn && | col | ||
) |
UT_ORMCreateTableOperation& UT_ORMMigration::createModel | ( | const UT_StringHolder & | table_name | ) |
UT_ORMDropTableOperation& UT_ORMMigration::dropModel | ( | const UT_StringHolder & | table_name | ) |
UT_ORMRemoveFieldOperation& UT_ORMMigration::removeField | ( | const UT_StringHolder & | model_name, |
const UT_StringHolder & | name | ||
) |
UT_ORMRenameFieldOperation& UT_ORMMigration::renameField | ( | const UT_StringHolder & | model_name, |
const UT_StringHolder & | cur_name, | ||
const UT_StringHolder & | new_name | ||
) |
UT_ORMMigration::UT_NON_COPYABLE | ( | UT_ORMMigration | ) |
const UT_StringHolder UT_ORMMigration::myModelName |
Definition at line 123 of file UT_ORMMigrationBuilder.h.
const UT_StringHolder UT_ORMMigration::myName |
Definition at line 124 of file UT_ORMMigrationBuilder.h.
UT_Array<UT_UniquePtr<UT_IORMOperation> > UT_ORMMigration::myOperations |
Definition at line 125 of file UT_ORMMigrationBuilder.h.