| ... | ... | @@ -46,7 +46,7 @@ pub fn collect(self: *Self, alloc: *std.mem.Allocator, comptime T: type, comptim |
| 46 | 46 | pub fn exec(self: *Self, alloc: *std.mem.Allocator, comptime query: string, args: anytype) !void { |
| 47 | 47 | var stmt = try self.prepare(query); |
| 48 | 48 | defer stmt.deinit(); |
| 49 | | try stmt.execAlloc(.{ .allocator = alloc }, args); |
| 49 | try stmt.execAlloc(alloc, .{}, args); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | pub fn first(self: *Self, alloc: *std.mem.Allocator, comptime T: type, comptime query: string, args: anytype) !?T { |