summaryrefslogtreecommitdiff
path: root/src/duckdb/PreparedStatement.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/duckdb/PreparedStatement.zig')
-rw-r--r--src/duckdb/PreparedStatement.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/duckdb/PreparedStatement.zig b/src/duckdb/PreparedStatement.zig
index e81ac4c..d6b60b2 100644
--- a/src/duckdb/PreparedStatement.zig
+++ b/src/duckdb/PreparedStatement.zig
@@ -136,6 +136,10 @@ pub fn exec(self: *Self, comptime T: type) !Result(T){
return try Result(T).init(result);
}
+pub fn clear(self: *Self) void {
+ c.duckdb_clear_bindings(self._q);
+}
+
pub fn deinit(self: *Self) void{
c.duckdb_destroy_prepare(&self._q);
}