some work in morm
now in Model we have field() methods for other Model or std::list<Model> (code not tested) git-svn-id: svn://ttmath.org/publicrep/morm/trunk@1118 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -314,11 +314,13 @@ void DbConnector::clear_value(std::wstring & field_value)
|
||||
field_value.clear();
|
||||
}
|
||||
|
||||
|
||||
void DbConnector::clear_value(std::string & field_value)
|
||||
{
|
||||
field_value.clear();
|
||||
}
|
||||
|
||||
|
||||
void DbConnector::clear_value(bool & field_value)
|
||||
{
|
||||
field_value = false;
|
||||
@@ -384,6 +386,10 @@ void DbConnector::clear_value(PT::Date & field_value)
|
||||
field_value.Clear();
|
||||
}
|
||||
|
||||
void DbConnector::clear_value(Model & field_value)
|
||||
{
|
||||
field_value.clear();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -399,6 +405,7 @@ void DbConnector::get_value(const char * value_str, char & field_value)
|
||||
}
|
||||
|
||||
|
||||
|
||||
void DbConnector::get_value(const char * value_str, unsigned char & field_value)
|
||||
{
|
||||
field_value = *(const unsigned char*)value_str;
|
||||
|
Reference in New Issue
Block a user