We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.25.0
This is my expectation from SQL-query But this is a reality of SQLC generated code
const getAuthors = `-- name: GetAuthors :exec SELECT unnest FROM unnest($1::authors[]) `
CREATE TABLE authors ( id BIGSERIAL PRIMARY KEY, name text NOT NULL, bio text );
-- name: GetAuthors :exec SELECT * FROM unnest($1::authors[]);
{ "version": "2", "sql": [{ "schema": "schema.sql", "queries": "query.sql", "engine": "postgresql", "gen": { "go": { "out": "db" } } }] }
https://play.sqlc.dev/p/92a526ef05f1b3ec8c4dbc2360e1ff0c7cc27464a8b5870957166137b8e119af
macOS
PostgreSQL
Go
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.25.0
What happened?
This is my expectation from SQL-query
But this is a reality of SQLC generated code
Relevant log output
Database schema
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/92a526ef05f1b3ec8c4dbc2360e1ff0c7cc27464a8b5870957166137b8e119af
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: