It would be very nice for zig-sqlite to deal with converting enums to ints and back on its own. Having to write this at call site causes unnecessary boilerplate. As seen in this example:
try select.bind(.{
.id = filter.id,
.name = filter.name,
.status = @enumToInt(filter.status),
});
instead of just being able to:
It would be very nice for
zig-sqliteto deal with converting enums to ints and back on its own. Having to write this at call site causes unnecessary boilerplate. As seen in this example:instead of just being able to: