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
Found out that this wasn't about sqlc and it was because I used the libsql driver when opening the db.
Changing sql.Open("libsql", "file:"+dbName) to sql.Open("sqlite3", "file:"+dbName) and removing `libsql related code solved it.
Version
1.25.0
What happened?
Hi,
If I type a field as
BOOLEAN
,sqlc
creates a struct with typebool
.Which results to a
INSERT
error belowunsupported type bool
As a current work around, I'm just defining related field as
INTEGER
s, which probably won't be different internally.Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
SQLite
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: