insert_query_builder progress

This commit is contained in:
2026-04-12 22:07:24 +02:00
parent f03664d60a
commit a0326632ab
25 changed files with 319 additions and 124 deletions
+7
View File
@@ -62,6 +62,8 @@ public:
*/
template<class Type>
statement &bind(const Type &obj);
template<class Type>
statement &bind(const object::object_ptr<Type> &ptr);
template<typename Type>
statement &bind(size_t pos, Type &value);
@@ -161,6 +163,11 @@ statement &statement::bind(const Type &obj) {
return *this;
}
template<class Type>
statement &statement::bind(const object::object_ptr<Type> &ptr) {
return bind(*ptr);
}
template<class Type>
utils::result<query_result<Type>, utils::error> statement::fetch() {
std::cout << statement_proxy_->sql() << std::endl;