| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
While working on this I noticed the Makefile is not compatible with the latest javy CLI version. I have not updated it in the PR, but changing line 8 with the following solved the issues:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Sqlite's driver was not generating types properly, it was returning all columns as any attributes instead of inferring the type from the schema.
Here's an example:
Source file:
Generated code:
When debugging the driver I noticed the received Column in the columnType method where:
I decided to convert the column.type.name to lowercase and add TEXT and VARCHAR types to the switch case. After building the wasm module, I run it with examples/sqlc.dev.yaml config file and the example file got updated.