HDK
|
#include <UT_SQLORM.h>
Public Member Functions | |
UT_ORMModel ()=default | |
virtual | ~UT_ORMModel ()=default |
UT_ORMModel (const UT_ORMModel &)=default | |
UT_ORMModel & | operator= (const UT_ORMModel &)=default |
bool | save (UT_ErrorCode &ec, bool force_insert=false, bool force_update=false) |
void | remove (UT_ErrorCode &ec) |
bool | update (UT_ErrorCode &ec) |
bool | hasSavedBefore () const |
Static Public Member Functions | |
template<typename PK > | |
static UT_Optional< T > | fetch (const PK &pk, UT_ErrorCode &ec) |
static UT_Array< T > | fetchAll (UT_ErrorCode &ec) |
Protected Attributes | |
bool | myHasSavedBefore = false |
Friends | |
class | UT_ORMModelMeta |
Definition at line 76 of file UT_SQLORM.h.
|
default |
|
virtualdefault |
|
default |
|
inlinestatic |
Definition at line 105 of file UT_SQLORM.h.
|
inlinestatic |
Definition at line 111 of file UT_SQLORM.h.
|
inline |
Definition at line 117 of file UT_SQLORM.h.
|
default |
|
inline |
Definition at line 93 of file UT_SQLORM.h.
|
inline |
Definition at line 85 of file UT_SQLORM.h.
|
inline |
Definition at line 98 of file UT_SQLORM.h.
|
friend |
Definition at line 78 of file UT_SQLORM.h.
|
protected |
Definition at line 120 of file UT_SQLORM.h.