Closed xiusin closed 3 months ago
What's the column type? pg.zig is really unforgiving when it comes to type mismatches.
count(*) AS total, what type should it be?
count(*) is a bigint, so it maps to an i64.
I'll spend some time to see if I can improve this aspect of pg.zig...at least try to generate some type of debug error message or something.
@karlseguin Thank you, it has been resolved through the type you mentioned