Changes between Initial Version and Version 1 of Ticket #32501, comment 1


Ignore:
Timestamp:
Apr 2, 2021, 5:11:52 PM (4 years ago)
Author:
Ian Foote

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32501, comment 1

    initial v1  
    11This should be an easy ORM starter ticket.
    22
    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.
     3What 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.
    44
    55There are some existing tests in https://github.com/django/django/blob/main/tests/queries/test_db_returning.py.
Back to Top