[bug] Rename file is broken for files that are existing #19

This commit is contained in:
Scott E. Graves 2024-09-29 09:51:25 -05:00
parent 34070bba89
commit fd721c5dc4

View File

@ -22,6 +22,12 @@
#include "database/db_update.hpp"
namespace repertory::db {
auto db_update::column_value(std::string column_name,
db_types_t value) -> db_update & {
context_->values[column_name] = value;
return *this;
}
auto db_update::dump() const -> std::string {
std::stringstream query;
query << "UPDATE \"" << context_->table_name << "\" SET ";