diff options
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -240,7 +240,7 @@ pub fn Statement(comptime opts: StatementOptions) type { | |||
| 240 | 240 | ||
| 241 | _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); | 241 | _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); |
| 242 | }, | 242 | }, |
| 243 | else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), | 243 | else => @compileError("cannot bind field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), |
| 244 | } | 244 | } |
| 245 | }, | 245 | }, |
| 246 | else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), | 246 | else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), |