some work in morm (select statement)

git-svn-id: svn://ttmath.org/publicrep/morm/trunk@1079 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2018-04-15 23:00:17 +00:00
parent b1af7b8d25
commit 09f31b2803
11 changed files with 405 additions and 195 deletions

View File

@@ -53,31 +53,31 @@ DbConnector::~DbConnector()
bool DbConnector::query(PT::TextStream & stream)
bool DbConnector::query(const PT::TextStream & stream)
{
return false;
}
bool DbConnector::query(const std::wstring & query)
//bool DbConnector::query(const std::wstring & query)
//{
// return false;
//}
bool DbConnector::query(const std::string & query_str)
{
return false;
}
bool DbConnector::query(const std::string & query)
{
return false;
}
//bool DbConnector::query(const wchar_t * query)
//{
// return false;
//}
bool DbConnector::query(const wchar_t * query)
{
return false;
}
bool DbConnector::query(const char * query)
bool DbConnector::query(const char * query_str)
{
// do query
return false;
@@ -85,6 +85,27 @@ bool DbConnector::query(const char * query)
bool DbConnector::query_select(const PT::TextStream & stream)
{
return false;
}
bool DbConnector::query_update(const PT::TextStream & stream)
{
return false;
}
bool DbConnector::query_insert(const PT::TextStream & stream)
{
return false;
}
virtual void DbConnector::map_values_from_query(Model & model)
{
model.clear();
}
DbExpression * DbConnector::get_expression()
{