added update_object_binder progress

This commit is contained in:
Sascha Kühl
2025-10-15 16:14:22 +02:00
parent d3483ea5c2
commit d08bdb9554
4 changed files with 50 additions and 5 deletions
+3 -1
View File
@@ -51,11 +51,13 @@ statement &statement::bind(const size_t pos, std::string &val, const size_t size
}
utils::result<size_t, utils::error> statement::execute() const {
// logger_.info(statement_->query_.sql);
logger_->on_execute(statement_proxy_->sql());
std::cout << statement_proxy_->sql() << std::endl;
return statement_proxy_->execute(*bindings_);
}
utils::result<query_result<record>, utils::error> statement::fetch() const {
std::cout << statement_proxy_->sql() << std::endl;
auto result = statement_proxy_->fetch(*bindings_);
if (!result.is_ok()) {
return utils::failure(result.err());