You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for creating the issue! We are facing the same problem.
I think it would be better to follow the implementation of java.sql.ResultSet.getObject rather than doing the implementation for each types in sqlc-gen-kotlin.
I've created a PR and would appreciate your consideration.
When creating a boolean (nullable) column in Postgres.
When generating code from SQL that retrieves this column, it becomes
results.getBoolean()
.Reading ResultSet.java, it states
Ideally, if the table contains null, I would like it to return null.
I would like to hear the maintainer's opinion on this.
The text was updated successfully, but these errors were encountered: