Open eyal-solomon1 opened 6 months ago
@eyal-solomon1 I'm guessing you're using the wrong syntax. Also, be careful on macs. It's the only platform I see which uses ` when you meant '.
My sqlite example generates go just fine using your schema
https://play.sqlc.dev/p/c33a35439d22e91fc4aa9abf0b58e58cefa3ada7867784d30285886b0468536b
@dbhoot maybe syntax is not ideal from SQLC point of view, but from SQLite point of view it is ok. Seems that issue is related to quotes, because in your example there are no quotes in schema. Also, pls check my comment under another issue - https://github.com/sqlc-dev/sqlc/issues/3162#issuecomment-2097077192
Version
1.26.0
What happened?
Getting
relation "x" does not exist
for every query I mention in myqueries
.sql filesRelevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/7150dcc1ccab07d5dcca915b08525b015d4f94968345157779d016a74eb04279
What operating system are you using?
macOS
What database engines are you using?
SQLite
What type of code are you generating?
Python