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 Mariusz Felisiak, 18 months ago

Resolution: wontfix
Status: newclosed

Thanks for the ticket, however, we don't want to encourage users to use raw SQL queries.

comment:2 by Simon Charette, 4 months ago

Resolution: wontfix
Status: closednew
Triage Stage: UnreviewedAccepted

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 Alex, 4 months ago

Owner: changed from nobody to Alex
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top