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.26.0
In https://github.com/sqlc-dev/sqlc/blob/v1.26.0/docs/tutorials/getting-started-sqlite.md?plain=1#L162
insertedAuthor, err := queries.CreateAuthor(ctx, tutorial.CreateAuthorParams{..} [..] queries.GetAuthor(ctx, insertedAuthor.ID)
But insertedAuthor is sql.Result, which has no .ID attribute.
insertedAuthor
sql.Result
For getting-started-mysql.md it already got updated: https://github.com/sqlc-dev/sqlc/blob/v1.26.0/docs/tutorials/getting-started-mysql.md?plain=1#L136
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
1.26.0
What happened?
In https://github.com/sqlc-dev/sqlc/blob/v1.26.0/docs/tutorials/getting-started-sqlite.md?plain=1#L162
But
insertedAuthor
issql.Result
, which has no .ID attribute.For getting-started-mysql.md it already got updated:
https://github.com/sqlc-dev/sqlc/blob/v1.26.0/docs/tutorials/getting-started-mysql.md?plain=1#L136
Relevant log output
No response
Database schema
No response
SQL queries
No response
Configuration
No response
Playground URL
No response
What operating system are you using?
No response
What database engines are you using?
No response
What type of code are you generating?
No response
The text was updated successfully, but these errors were encountered: