mirror of
https://github.com/django/django.git
synced 2025-08-08 04:48:27 +00:00
Refs #19527 -- Allowed QuerySet.bulk_create() to set the primary key of its objects.
PostgreSQL support only. Thanks Vladislav Manchev and alesasnouski for working on the patch.
This commit is contained in:
parent
60633ef3de
commit
04240b2365
8 changed files with 90 additions and 20 deletions
|
@ -5,6 +5,7 @@ from django.db.utils import InterfaceError
|
|||
class DatabaseFeatures(BaseDatabaseFeatures):
|
||||
allows_group_by_selected_pks = True
|
||||
can_return_id_from_insert = True
|
||||
can_return_ids_from_bulk_insert = True
|
||||
has_real_datatype = True
|
||||
has_native_uuid_field = True
|
||||
has_native_duration_field = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue