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

Add emit_sql_as_comment option to Go code plugin #3049

Closed
wants to merge 1 commit into from

Commits on Dec 8, 2023

  1. Add emit_sql_as_comment option to Go code plugin

    This option adds the raw SQL query as a comment to the generated query function
    
    This is useful when working in an IDE that displays comments over functions, you are able to glance at the actual SQL query that will be executed without having to lose context of where you are in the current file you are working on.
    jasoncabot authored and andrewmbenton committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    de8ae61 View commit details
    Browse the repository at this point in the history