column generator progress
This commit is contained in:
@@ -248,7 +248,7 @@ utils::result<object::object_ptr<Type>, utils::error> session::update( const obj
|
||||
|
||||
const auto col = sql::column(info.value().get().definition().primary_key()->name());
|
||||
auto res = matador::query::query::update(info->get().name())
|
||||
.set(generator::placeholders<Type>())
|
||||
.set(generator::column_value_pairs<Type>())
|
||||
.where(col == _)
|
||||
.prepare(*this);
|
||||
if (!res) {
|
||||
|
||||
Reference in New Issue
Block a user