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
+15
View File
@@ -121,6 +121,21 @@ public:
*/
void reset() const;
/**
* Returns the current binding position.
* Is set to the initial position after
* a call to reset().
*
* @return The current binding position
*/
[[nodiscard]] size_t bind_pos() const;
/**
* Returns the statements underlying SQL
* query string.
*
* @return The underlying SQL string
*/
[[nodiscard]] std::string sql() const;
[[nodiscard]] utils::result<std::unique_ptr<query_result_impl>, utils::error> fetch_internal() const;