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 sql and expanded_sql methods to the statement object #498

Merged
merged 1 commit into from
Feb 2, 2024

Commits on Feb 1, 2024

  1. Add sql and expanded_sql methods to the statement object

    These methods allow you to retrieve the SQL statement that was used to
    create the statement object.  The `sql` method just returns the sql
    statement, where the `expanded_sql` method returns the statement but
    with bind parameters substituted.
    
    This should aid with debugging and other tasks.
    
    Fixes #293
    tenderlove committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    e2b15ee View commit details
    Browse the repository at this point in the history