diff options
Diffstat (limited to '')
| -rw-r--r-- | sqlite.zig | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -1750,6 +1750,11 @@ pub const DynamicStatement = struct { | |||
| 1750 | try self.bindField(PointerTypeInfo.child, options, "", @intCast(c_int, index), value_to_bind); | 1750 | try self.bindField(PointerTypeInfo.child, options, "", @intCast(c_int, index), value_to_bind); |
| 1751 | } | 1751 | } |
| 1752 | }, | 1752 | }, |
| 1753 | .Array => |ArrayTypeInfo| { | ||
| 1754 | for (values) |value_to_bind, index| { | ||
| 1755 | try self.bindField(ArrayTypeInfo.child, options, "", @intCast(c_int, index), value_to_bind); | ||
| 1756 | } | ||
| 1757 | }, | ||
| 1753 | else => @compileError("Unsupported type for values: " ++ @typeName(StructType)), | 1758 | else => @compileError("Unsupported type for values: " ++ @typeName(StructType)), |
| 1754 | } | 1759 | } |
| 1755 | } | 1760 | } |