#373: Add support for multi-column primary keys.
-------------------------------------+-------------------------------------
     Reporter:  Jacob                |                    Owner:  Csirmaz
                                     |  Bendegúz
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  database             |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Natalia <124304+nessita@…>):

 In [changeset:"a150160c9fc6ba6220f1e63863b03e7f7978b747" a150160]:
 {{{#!CommitTicketReference repository=""
 revision="a150160c9fc6ba6220f1e63863b03e7f7978b747"
 [5.2.x] Fixed #36464 -- Fixed "__in" tuple lookup on backends lacking
 native support.

 When native support for tuple lookups is missing in a DB backend, it can
 be emulated with an EXISTS clause. This is controlled by the backend
 feature flag "supports_tuple_lookups".

 The mishandling of subquery right-hand side in `TupleIn` (added to
 support `CompositePrimaryKey` in Refs #373) was likely missed because
 the only core backend we test with the feature flag disabled
 (Oracle < 23.4) supports it natively.

 Thanks to Nandana Raol for the report, and to Sarah Boyce, Jacob Walls,
 and Natalia Bidart for reviews.

 Backport of 192bc7a7be92e20cc250907fb4083df689715679 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/373#comment:230>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070197c320a144-c07e6545-32f2-490c-af1e-0430bef1bb54-000000%40eu-central-1.amazonses.com.

Reply via email to