-
I've seen example of using rows.Scan(), but I already iterating over the values with
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In the case of a nullable boolean PostgreSQL column, I would expect you to get If that's not the case, please provide sample code that demonstrates this behavior. |
Beta Was this translation helpful? Give feedback.
-
Yes, you're right. I created a table in a local postgres to test and I see different behavior there
and the following code
gives
So the behavior I was seeing must be something else. |
Beta Was this translation helpful? Give feedback.
In the case of a nullable boolean PostgreSQL column, I would expect you to get
true
,false
, ornil
.If that's not the case, please provide sample code that demonstrates this behavior.