From a392744cc995d7c26730d2f1626612ad4739ca9b Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 29 Jul 2024 21:18:40 +0200 Subject: First commit with working DuckDB connection --- src/main.zig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main.zig (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig new file mode 100644 index 0000000..df11bea --- /dev/null +++ b/src/main.zig @@ -0,0 +1,9 @@ +const std = @import("std"); +const Db = @import("./db.zig"); + +pub fn main() !void { + var database = try Db.init(":memory:"); + defer database.deinit(); + var connection = try database.connect(); + defer connection.deinit(); +} -- cgit v1.2.3