diff options
| author | 2023-11-23 21:35:16 +0100 | |
|---|---|---|
| committer | 2023-11-23 21:36:06 +0100 | |
| commit | 7d4d8fa55b98269666a8fc1f73795a78c10bd073 (patch) | |
| tree | 2c6570d8e0daefa52ac4e2e86f7ee95b8058b7a4 /sqlite.zig | |
| parent | add the isZigString helper (diff) | |
| download | zig-sqlite-7d4d8fa55b98269666a8fc1f73795a78c10bd073.tar.gz zig-sqlite-7d4d8fa55b98269666a8fc1f73795a78c10bd073.tar.xz zig-sqlite-7d4d8fa55b98269666a8fc1f73795a78c10bd073.zip | |
add the fasFn helper
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1693,7 +1693,7 @@ pub const DynamicStatement = struct { | |||
| 1693 | try self.bindField(info.backing_integer.?, options, field_name, i, @as(info.backing_integer.?, @bitCast(field))); | 1693 | try self.bindField(info.backing_integer.?, options, field_name, i, @as(info.backing_integer.?, @bitCast(field))); |
| 1694 | return; | 1694 | return; |
| 1695 | } | 1695 | } |
| 1696 | if (!comptime std.meta.trait.hasFn("bindField")(FieldType)) { | 1696 | if (!comptime helpers.hasFn(FieldType, "bindField")) { |
| 1697 | @compileError("cannot bind field " ++ field_name ++ " of type " ++ @typeName(FieldType) ++ ", consider implementing the bindField() method"); | 1697 | @compileError("cannot bind field " ++ field_name ++ " of type " ++ @typeName(FieldType) ++ ", consider implementing the bindField() method"); |
| 1698 | } | 1698 | } |
| 1699 | 1699 | ||