#31003: Suggesting: Documentation update for bulk_create method
-------------------------------------+-------------------------------------
     Reporter:  Peter Vlasveld       |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  2.2
     Severity:  Normal               |               Resolution:
     Keywords:  bulk_create,         |             Triage Stage:  Accepted
  database, query,                   |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by felixxm):

 `bulk_create()` returns new instances in the same order with PKs only on
 PostgreSQL back-end (and this behavior is tested in
 `tests.postgres_tests`, e.g. `tests.postgres_tests.test_bulk_update`), on
 other back-ends it returns exactly the same objects without PKs so they
 are rather useless.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31003#comment:3>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.e90061fffa91639136de53801ff755fd%40djangoproject.com.

Reply via email to