summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-08-03 13:43:41 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-08-03 13:44:49 +0200
commitc60c42fc64d9d95b707fc90b7bc08beffd5416af (patch)
tree0cd936e132ee4c15bfcd58df58eb5f4f90fc0fc4 /src/main.zig
parent9061b8864d5bf99871622d741a422356bcc82120 (diff)
Reorganize duckdb
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.zig b/src/main.zig
index d970b68..88f392b 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -1,8 +1,8 @@
const std = @import("std");
-pub const Db = @import("./duckdb/db.zig");
+pub const Database = @import("./duckdb.zig").Database;
pub fn main() !void {
- var database = try Db.init(":memory:");
+ var database = try Database.init(":memory:");
defer database.deinit();
var connection = try database.connect();
defer connection.deinit();