Changes between Initial Version and Version 1 of Ticket #23440
- Timestamp:
- Sep 6, 2014, 12:22:13 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #23440 – Description
initial v1 15 15 {{{ 16 16 Relation.objects.select_related().filter(id=1) 17 }}} 17 18 19 {{{#!sql 18 20 SELECT "relation"."id", "relation"."left_id", "relation"."right_id", "left"."id", "left"."name", T3."id", T3."name", 19 21 FROM "relation" INNER JOIN "left" ON ( "relation"."left_id" = "left"."id" ) INNER JOIN "right" T3 ON ("relation"."right_id" = T3."id" ) … … 25 27 26 28 {{{ 29 #!sql 27 30 SELECT "relation"."id", "relation"."left_id", "relation"."right_id", "left"."id", "left"."name", 28 31 FROM "relation" INNER JOIN "left" ON ( "relation"."left_id" = "left"."id" OR "relation"."right_id" = "left"."id") … … 30 33 }}} 31 34 32 P.S. Not sure if this is related : https://code.djangoproject.com/ticket/712535 P.S. Not sure if this is related : [7125]