diff options
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -243,6 +243,9 @@ pub const DetailedError = struct { | |||
| 243 | message: []const u8, | 243 | message: []const u8, |
| 244 | 244 | ||
| 245 | pub fn format(self: @This(), comptime fmt: []const u8, options: std.fmt.FormatOptions, writer: anytype) !void { | 245 | pub fn format(self: @This(), comptime fmt: []const u8, options: std.fmt.FormatOptions, writer: anytype) !void { |
| 246 | _ = fmt; | ||
| 247 | _ = options; | ||
| 248 | |||
| 246 | _ = try writer.print("{{code: {}, message: {s}}}", .{ self.code, self.message }); | 249 | _ = try writer.print("{{code: {}, message: {s}}}", .{ self.code, self.message }); |
| 247 | } | 250 | } |
| 248 | }; | 251 | }; |
| @@ -918,6 +921,8 @@ pub const StatementOptions = struct {}; | |||
| 918 | /// Look at each function for more complete documentation. | 921 | /// Look at each function for more complete documentation. |
| 919 | /// | 922 | /// |
| 920 | pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) type { | 923 | pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) type { |
| 924 | _ = opts; | ||
| 925 | |||
| 921 | return struct { | 926 | return struct { |
| 922 | const Self = @This(); | 927 | const Self = @This(); |
| 923 | 928 | ||