示例#1
0
 Statement::Statement(Connection& database,
                      const StatementId& id,
                      const std::string& sql) : 
   reference_(database.GetCachedStatement(id, sql.c_str()))
 {
   Reset(true);
 }
示例#2
0
 Statement::Statement(Connection& database,
                      const StatementId& id,
                      const char* sql) : 
   reference_(database.GetCachedStatement(id, sql))
 {
   Reset(true);
 }