diff options
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -732,6 +732,7 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) t | |||
| 732 | .Float, .ComptimeFloat => _ = c.sqlite3_bind_double(self.stmt, column, field), | 732 | .Float, .ComptimeFloat => _ = c.sqlite3_bind_double(self.stmt, column, field), |
| 733 | .Bool => _ = c.sqlite3_bind_int64(self.stmt, column, @boolToInt(field)), | 733 | .Bool => _ = c.sqlite3_bind_int64(self.stmt, column, @boolToInt(field)), |
| 734 | .Pointer => |ptr| switch (ptr.size) { | 734 | .Pointer => |ptr| switch (ptr.size) { |
| 735 | .One => self.bindField(ptr.child, field_name, i, field.*), | ||
| 735 | else => @compileError("cannot bind field " ++ field_name ++ " of type " ++ @typeName(FieldType)), | 736 | else => @compileError("cannot bind field " ++ field_name ++ " of type " ++ @typeName(FieldType)), |
| 736 | }, | 737 | }, |
| 737 | .Array => |arr| { | 738 | .Array => |arr| { |