Changes between Initial Version and Version 1 of Ticket #32501, comment 1
- Timestamp:
- Apr 2, 2021, 5:11:52 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32501, comment 1
initial v1 1 1 This should be an easy ORM starter ticket. 2 2 3 What will be required is adding an implementation of the {{{return_insert_columns}}} method to {{{django/db/backends/sqlite3/operations.py}}} and an implementation of {{{can_return_columns_from_insert}}} and {{{can_return_rows_from_bulk_insert}}} to {{{django/db/backends/sqlite3/features.py}}}. Reference implementations can be found in the corresponding files for other database backends.3 What will be required is adding an implementation of the {{{return_insert_columns}}} method to https://github.com/django/django/blob/main/django/db/backends/sqlite3/operations.py and an implementation of {{{can_return_columns_from_insert}}} and {{{can_return_rows_from_bulk_insert}}} to https://github.com/django/django/blob/main/django/db/backends/sqlite3/features.py. Reference implementations can be found in the corresponding files for other database backends. 4 4 5 5 There are some existing tests in https://github.com/django/django/blob/main/tests/queries/test_db_returning.py.