From c48ce60993a0b3e26f3f1f0af1e325270f937270 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Mon, 9 Aug 2021 01:17:29 -0700 Subject: iterator- pass along options object --- sqlite.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite.zig') diff --git a/sqlite.zig b/sqlite.zig index 498f83d..346b172 100644 --- a/sqlite.zig +++ b/sqlite.zig @@ -565,7 +565,7 @@ pub fn Iterator(comptime Type: type) type { }, .Struct => { std.debug.assert(columns == TypeInfo.Struct.fields.len); - return try self.readStruct(.{}); + return try self.readStruct(options); }, else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"), } -- cgit v1.2.3