From c60c42fc64d9d95b707fc90b7bc08beffd5416af Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Sat, 3 Aug 2024 13:43:41 +0200 Subject: Reorganize duckdb --- src/duckdb/PreparedStatement.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/duckdb/PreparedStatement.zig') 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); } -- cgit v1.2.3