[bug] Rename file is broken for files that are existing #19
This commit is contained in:
parent
34070bba89
commit
fd721c5dc4
@ -22,6 +22,12 @@
|
|||||||
#include "database/db_update.hpp"
|
#include "database/db_update.hpp"
|
||||||
|
|
||||||
namespace repertory::db {
|
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 {
|
auto db_update::dump() const -> std::string {
|
||||||
std::stringstream query;
|
std::stringstream query;
|
||||||
query << "UPDATE \"" << context_->table_name << "\" SET ";
|
query << "UPDATE \"" << context_->table_name << "\" SET ";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user