Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(codegen): add emit_query_comments option for golang code generation #3993

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

Open
quantumsheep wants to merge 1 commit into sqlc-dev:main
base: main
Choose a base branch
Loading
from quantumsheep:feat/sqlc-emit-query-comments

Conversation

Copy link

@quantumsheep quantumsheep commented Jun 18, 2025

Hello! I have this use-case where I need to keep the comments of my SQL query.

This PR adds a new codegen option for golang, emit_query_comments which does that.

Closes #2207

...ation
Signed-off-by: Nathanael DEMACON <quantumsheep@users.noreply.github.com>
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang labels Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
size:L This PR changes 100-499 lines, ignoring generated files. 🔧 golang
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Include comments inside the generated SQL statement
1 participant

AltStyle によって変換されたページ (->オリジナル) /