Skip to content
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

docs: Update samples for HOW-TO GUIDES #1953

Merged
merged 1 commit into from
Jan 17, 2023

Conversation

d-tsuji
Copy link
Contributor

@d-tsuji d-tsuji commented Nov 12, 2022

Some of the sample code in "HOW-TO GUIDES" was outdated and has been updated.

ExecContext() signatures, for example.

Comment on lines +55 to +59
```sql
-- name: UpdateAuthor :exec
UPDATE authors SET bio = $2
WHERE id = $1;
```
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although somewhat obvious, it would be helpful to have SQL examples for Multiple parameters as well as Single parameters.

@d-tsuji d-tsuji changed the title docs: update samples for HOW-TO GUIDES docs: Update samples for HOW-TO GUIDES Nov 12, 2022
@kyleconroy kyleconroy merged commit c4ceb0e into sqlc-dev:main Jan 17, 2023
@d-tsuji d-tsuji deleted the feature/docs branch January 17, 2023 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants