diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-07-29 21:18:40 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2024-07-29 21:18:40 +0200 |
commit | a392744cc995d7c26730d2f1626612ad4739ca9b (patch) | |
tree | 68faf77b9c64995e99436d92b4905d6c40e0dda7 /src/main.zig |
First commit with working DuckDB connection
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 9 |
1 files changed, 9 insertions, 0 deletions
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(); +} |