Closed k98kurz closed 1 month ago
Is your feature request related to a problem? Please describe.
Currently, the SqlQueryBuilder.to_sql method interpolates all bound parameters, i.e. every "?" is replaced with the associated value.
SqlQueryBuilder.to_sql
Describe the solution you'd like
Change the Python syntax from to_sql() to to_sql(interpolate_params=False) and make the argument default value False.
to_sql()
to_sql(interpolate_params=False)
False
Describe alternatives you've considered
Not doing it. It has been the alternative of choice while working on other stuff.
Done. Replicated in the AsyncSqlQueryBuilder as well.
AsyncSqlQueryBuilder
Is your feature request related to a problem? Please describe.
Currently, the
SqlQueryBuilder.to_sql
method interpolates all bound parameters, i.e. every "?" is replaced with the associated value.Describe the solution you'd like
Change the Python syntax from
to_sql()
toto_sql(interpolate_params=False)
and make the argument default valueFalse
.Describe alternatives you've considered
Not doing it. It has been the alternative of choice while working on other stuff.