| ... | @@ -6,7 +6,7 @@ pub const DriverType = enum { | ... | @@ -6,7 +6,7 @@ pub const DriverType = enum { |
| 6 | | 6 | |
| 7 | pub fn Driver(comptime etype: DriverType) type { | 7 | pub fn Driver(comptime etype: DriverType) type { |
| 8 | return switch (etype) { | 8 | return switch (etype) { |
| 9 | .sqlite3 => backend.sqlite, | 9 | .sqlite3 => @import("./sqlite3.zig"), |
| 10 | }; | 10 | }; |
| 11 | } | 11 | } |
| 12 | | 12 | |
| ... | @@ -85,7 +85,3 @@ pub const Engine = union(DriverType) { | ... | @@ -85,7 +85,3 @@ pub const Engine = union(DriverType) { |
| 85 | }; | 85 | }; |
| 86 | } | 86 | } |
| 87 | }; | 87 | }; |
| 88 | | | |
| 89 | pub const backend = struct { | | |
| 90 | pub const sqlite = @import("sqlite"); | | |
| 91 | }; | | |