summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/sqlite.zig b/sqlite.zig
index b0f3216..8fd536b 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -291,6 +291,10 @@ pub const Db = struct {
291 db: *c.sqlite3, 291 db: *c.sqlite3,
292 292
293 /// Mode determines how the database will be opened. 293 /// Mode determines how the database will be opened.
294 ///
295 /// * File means opening the database at this path with sqlite3_open_v2.
296 /// * Memory means opening the database in memory.
297 /// This works by opening the :memory: path with sqlite3_open_v2 with the flag SQLITE_OPEN_MEMORY.
294 pub const Mode = union(enum) { 298 pub const Mode = union(enum) {
295 File: [:0]const u8, 299 File: [:0]const u8,
296 Memory, 300 Memory,