Open veqryn opened 2 months ago
I have similar issue. I fixed it by add name
to the config. In your case, the config should look like this:
version: "2"
cloud:
project: 'myprojectid'
sql:
- name: "queryName"
engine: "postgresql"
queries: "query.sql"
schema: "../data/01_schema.sql"
gen:
go:
package: "model"
out: "internal/model"
sql_package: "pgx/v5"
The error message ERROR unknown query set: queryset_0
should be improved
Version
1.27.0
What happened?
I am trying to go through the tutorial, except with my own basic queries. I get to the part where I am to try out the
verify
command, and get this error:Please note that the generated model and queries work just fine.
Relevant log output
No response
Database schema
SQL queries
Configuration
Playground URL
No response
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go