statement binding progress

This commit is contained in:
Sascha Kühl
2025-10-13 16:14:03 +02:00
parent 24842f3313
commit d0e2e4340e
12 changed files with 147 additions and 101 deletions
@@ -23,10 +23,17 @@ public:
void bind(size_t pos, Type &value, parameter_binder& bindings) {
statement_->bind(pos, value, bindings);
}
template<typename Type>
void bind(Type &value, parameter_binder& bindings) {
statement_->bind(value, bindings);
}
void bind(size_t pos, const char *value, size_t size, parameter_binder& bindings) const;
void bind(const char *value, size_t size, parameter_binder& bindings) const;
void bind(size_t pos, std::string &val, size_t size, parameter_binder& bindings) const;
void bind(std::string &val, size_t size, parameter_binder& bindings) const;
void reset() const;
[[nodiscard]] size_t bind_pos() const;
[[nodiscard]] std::string sql() const;