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 #2735

Merged
merged 1 commit into from
Jan 2, 2024

Commits on Dec 31, 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 committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    db0157b View commit details
    Browse the repository at this point in the history