#30529: SQLCompiler.as_sql should return parameters as a list (and not as a
tuple)
-------------------------------------+-------------------------------------
Reporter: Tobias | Owner: nobody
Krönke |
Type: Bug | Status: new
Component: Database | Version: 2.2
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
As wished by Adam (https://github.com/adamchainz/django-
mysql/issues/50#issuecomment-496665473) I will give it a try and do a PR
to turn those tuples into lists. Even the method comments in
https://github.com/django/django/blob/master/django/db/models/sql/compiler.py
all state:
Return the SQL string and **list** of parameters.
--
Ticket URL: <https://code.djangoproject.com/ticket/30529>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.76e9e1451a269d2106280bd7045e9a1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.