#29501: Add support for ./manage.py dbshell -c SQL
-------------------------------------+-------------------------------------
     Reporter:  Artem Skoretskiy     |                    Owner:  (none)
         Type:  New feature          |                   Status:  new
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Adam (Chainz) Johnson):

 I don't think opening a cursor is the right way. My mental model of
 dbshell is that it always passes through to the underlying tool, which can
 have subtle implications on even what SQL/commands are accepted.

 I am actually most in favour of passing all arguments through after a `--`
 divider as that is the most flexible.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29501#comment:8>
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/065.721347f53b53502599ed825f0e1a34c1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to