summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sqlite.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/sqlite.zig b/sqlite.zig
index f1add39..b78099d 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -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 }