Return the query as a string of SQL with the parameter values substituted in (use sql_with_params() to see the unsubstituted string). Parameter values won't necessarily be quoted correctly, since that is done by the database interface at execution time.
(self)
| 343 | return alias |
| 344 | |
| 345 | def __str__(self): |
| 346 | """ |
| 347 | Return the query as a string of SQL with the parameter values |
| 348 | substituted in (use sql_with_params() to see the unsubstituted string). |
| 349 | |
| 350 | Parameter values won't necessarily be quoted correctly, since that is |
| 351 | done by the database interface at execution time. |
| 352 | """ |
| 353 | sql, params = self.sql_with_params() |
| 354 | return sql % params |
| 355 | |
| 356 | def sql_with_params(self): |
| 357 | """ |
nothing calls this directly
no test coverage detected