Loading src/DBManager.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -189,7 +189,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, keysStream << databaseTable << "." << row.date_list(i).key() << ","; valuesStream << "'" << boost::posix_time::to_iso_string(timestamp) << "',"; keyValuesStream << row.date_list(i).key() keyValuesStream << databaseTable << "." << row.date_list(i).key() << "='" << boost::posix_time::to_iso_string(timestamp) << "',"; } Loading @@ -198,7 +198,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.double_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.double_list(i).value()) << ","; keyValuesStream << row.double_list(i).key() keyValuesStream << databaseTable << "." << row.double_list(i).key() << "=" << row.double_list(i).value() << ","; } Loading @@ -207,7 +207,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.integer_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.integer_list(i).value()) << ","; keyValuesStream << row.integer_list(i).key() keyValuesStream << databaseTable << "." << row.integer_list(i).key() << "=" << row.integer_list(i).value() << ","; } Loading @@ -216,7 +216,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.long_long_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.long_long_list(i).value()) << ","; keyValuesStream << row.long_long_list(i).key() keyValuesStream << databaseTable << "." << row.long_long_list(i).key() << "=" << row.long_long_list(i).value() << ","; } Loading @@ -225,7 +225,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.strings_list(i).key() << ","; valuesStream << "'" << row.strings_list(i).value() << "',"; keyValuesStream << row.strings_list(i).key() keyValuesStream << databaseTable << "." << row.strings_list(i).key() << "='" << row.strings_list(i).value() << "',"; } Loading @@ -234,7 +234,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.unsinged_long_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.unsinged_long_list(i).value()) << ","; keyValuesStream << row.unsinged_long_list(i).key() keyValuesStream << databaseTable << "." << row.unsinged_long_list(i).key() << "=" << row.unsinged_long_list(i).value() << ","; } Loading Loading
src/DBManager.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -189,7 +189,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, keysStream << databaseTable << "." << row.date_list(i).key() << ","; valuesStream << "'" << boost::posix_time::to_iso_string(timestamp) << "',"; keyValuesStream << row.date_list(i).key() keyValuesStream << databaseTable << "." << row.date_list(i).key() << "='" << boost::posix_time::to_iso_string(timestamp) << "',"; } Loading @@ -198,7 +198,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.double_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.double_list(i).value()) << ","; keyValuesStream << row.double_list(i).key() keyValuesStream << databaseTable << "." << row.double_list(i).key() << "=" << row.double_list(i).value() << ","; } Loading @@ -207,7 +207,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.integer_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.integer_list(i).value()) << ","; keyValuesStream << row.integer_list(i).key() keyValuesStream << databaseTable << "." << row.integer_list(i).key() << "=" << row.integer_list(i).value() << ","; } Loading @@ -216,7 +216,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.long_long_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.long_long_list(i).value()) << ","; keyValuesStream << row.long_long_list(i).key() keyValuesStream << databaseTable << "." << row.long_long_list(i).key() << "=" << row.long_long_list(i).value() << ","; } Loading @@ -225,7 +225,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.strings_list(i).key() << ","; valuesStream << "'" << row.strings_list(i).value() << "',"; keyValuesStream << row.strings_list(i).key() keyValuesStream << databaseTable << "." << row.strings_list(i).key() << "='" << row.strings_list(i).value() << "',"; } Loading @@ -234,7 +234,7 @@ std::string DBManager::composeInsertQuery(std::string schema, std::string table, { keysStream << databaseTable << "." << row.unsinged_long_list(i).key() << ","; valuesStream << boost::lexical_cast<std::string>(row.unsinged_long_list(i).value()) << ","; keyValuesStream << row.unsinged_long_list(i).key() keyValuesStream << databaseTable << "." << row.unsinged_long_list(i).key() << "=" << row.unsinged_long_list(i).value() << ","; } Loading