HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_ORMMigrationChangeNotifier Class Reference

#include <UT_ORMMigrationBuilder.h>

Public Member Functions

 UT_ORMMigrationChangeNotifier (UT_ORMMigrationBuilder &builder)
 
 ~UT_ORMMigrationChangeNotifier ()=default
 
 UT_NON_COPYABLE (UT_ORMMigrationChangeNotifier)
 
void createModel (const UT_StringHolder &table_name, const UT_Array< UT_ORMColumn > &columns, UT_ErrorCode &ec)
 
void dropModel (const UT_StringRef &table_name, UT_ErrorCode &ec)
 
void addField (const UT_StringRef &model_name, const UT_ORMColumn &col, UT_ErrorCode &ec)
 
void renameField (const UT_StringRef &model_name, const UT_StringRef &cur_name, const UT_StringHolder &new_name, UT_ErrorCode &ec)
 
void removeField (const UT_StringRef &model_name, const UT_StringRef &name, UT_ErrorCode &ec)
 

Detailed Description

Definition at line 65 of file UT_ORMMigrationBuilder.h.

Constructor & Destructor Documentation

UT_ORMMigrationChangeNotifier::UT_ORMMigrationChangeNotifier ( UT_ORMMigrationBuilder builder)
inline

Definition at line 68 of file UT_ORMMigrationBuilder.h.

UT_ORMMigrationChangeNotifier::~UT_ORMMigrationChangeNotifier ( )
default

Member Function Documentation

void UT_ORMMigrationChangeNotifier::addField ( const UT_StringRef model_name,
const UT_ORMColumn col,
UT_ErrorCode ec 
)
void UT_ORMMigrationChangeNotifier::createModel ( const UT_StringHolder table_name,
const UT_Array< UT_ORMColumn > &  columns,
UT_ErrorCode ec 
)
void UT_ORMMigrationChangeNotifier::dropModel ( const UT_StringRef table_name,
UT_ErrorCode ec 
)
void UT_ORMMigrationChangeNotifier::removeField ( const UT_StringRef model_name,
const UT_StringRef name,
UT_ErrorCode ec 
)
void UT_ORMMigrationChangeNotifier::renameField ( const UT_StringRef model_name,
const UT_StringRef cur_name,
const UT_StringHolder new_name,
UT_ErrorCode ec 
)
UT_ORMMigrationChangeNotifier::UT_NON_COPYABLE ( UT_ORMMigrationChangeNotifier  )

The documentation for this class was generated from the following file: