Opened 3 years ago

Last modified 2 weeks ago

#34636 assigned New feature

Add documentation for Query's function `sql_with_params`

Reported by: Paolo Melchiorre Owned by: burhanuddin6
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: async, orm, sql, params, documentation
Cc: burhanuddin6 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 (4)

comment:1 by Mariusz Felisiak, 3 years ago

Resolution: → wontfix
Status: new → closed

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

comment:2 by Simon Charette, 2 years 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 Alex, 2 years ago

Owner: changed from nobody to Alex
Status: new → assigned

comment:4 by burhanuddin6, 2 weeks ago

Cc: burhanuddin6 added
Owner: changed from Alex to burhanuddin6
Note: See TracTickets for help on using tickets.
Back to Top