- added support for calling member functions (setters/getters) from Models
those functions can be used with databases and flat files - removed support for calling static function - if MORM_HAS_EZC_LIBRARY macro is defined then we can call a function which has a first argument Ezc::FunInfo<>& object (only for generating flat files)
This commit is contained in:
@@ -616,6 +616,12 @@ void DbConnector::get_value(const char * value_str, std::string & field_value, c
|
||||
}
|
||||
|
||||
|
||||
void DbConnector::get_value(const char * value_str, std::string_view & field_value, const FT & field_type)
|
||||
{
|
||||
field_value = value_str;
|
||||
}
|
||||
|
||||
|
||||
void DbConnector::get_value(const char * value_str, bool & field_value, const FT & field_type)
|
||||
{
|
||||
// IMPROVE ME
|
||||
|
Reference in New Issue
Block a user