Opened 18 months ago
Last modified 4 months ago
#34636 assigned New feature
Add documentation for Query's function `sql_with_params`
Reported by: | Paolo Melchiorre | Owned by: | Alex |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | async, orm, sql, params, documentation |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The sql_with_params
Query's function can be very useful to generate SQL code and params for asynchronous execution, so it will be very useful to explicitly document it.
Change History (3)
comment:1 by , 18 months ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 4 months ago
Resolution: | wontfix |
---|---|
Status: | closed → new |
Triage Stage: | Unreviewed → Accepted |
Re-opening per these discussions.
A point that was brought up is that we should likely allow alias
to be passed to sql_with_params
to be truly useful in multi-db setups.
comment:3 by , 4 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Thanks for the ticket, however, we don't want to encourage users to use raw SQL queries.