mirror of
https://github.com/django/django.git
synced 2024-11-18 07:26:04 +00:00
0837eacc4e
Updated SQLUpdateCompiler.execute_sql to match the behavior described in the docstring; the 'first non-empty query' will now include all queries, not just the main and first related update. Added CURSOR and NO_RESULTS result_type constants to make the usages more self documenting and allow execute_sql to explicitly close the cursor when it is no longer needed. |
||
---|---|---|
.. | ||
__init__.py | ||
models.py | ||
tests.py |