proxy lazy resolve progress

This commit is contained in:
Sascha Kühl
2025-08-18 16:21:24 +02:00
parent 466977b620
commit 1370eafac4
5 changed files with 15 additions and 45 deletions
-11
View File
@@ -54,18 +54,7 @@ utils::result<size_t, utils::error> statement::execute() const {
return statement_proxy_->execute(*bindings_);
}
//bool is_unknown(const std::vector<object::column_definition> &columns) {
// return std::all_of(std::begin(columns), std::end(columns), [](const auto &col) {
// return col.is_unknown();
// });
//}
utils::result<query_result<record>, utils::error> statement::fetch() const {
// if (is_unknown(statement_->query_.prototype)) {
//
// }
auto result = statement_proxy_->fetch(*bindings_);
if (!result.is_ok()) {
return utils::failure(result.err());