-
Notifications
You must be signed in to change notification settings - Fork 802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sqlc.embed does not seem to work with SQLite #2391
Comments
@christeredvartsen please use v1.19.0 |
It seems to be working as expected in the playground with v1.19.0, but locally I get a few |
It seems that this is where the log line is produced (which is not an error as I specified above): A similar log line in the postgres implementation is only active during debug it seems: I guess the sqlite implementation is just missing the |
Fixes: sqlc-dev#2391
Version
1.18.0
What happened?
When using
sqlite
as engine thesqlc.embed()
functionality can not be used in queries.Simple working example with PostgreSQL: https://play.sqlc.dev/p/4fa9fa04a1130b86c9fa6e0ad50557c0025c0f91a2e15f8d9d3672b9889fe4de
Same example using SQLite with error message:
https://play.sqlc.dev/p/0bc9baf87b614118eaab84414eb50ab299b12aa7584b5b6baca48afe6b70973a
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL, SQLite
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: