Code

Changes between Version 1 and Version 2 of NoSqlSupport


Ignore:
Timestamp:
12/10/10 10:34:11 (3 years ago)
Author:
wkornewald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NoSqlSupport

    v1 v2  
    3030}}} 
    3131 
     32This is not implemented in Django-nonrel. 
     33 
    3234= select_related() = 
    3335 
    3436Django implements this in a way that requires JOINs, so this doesn't work on non-relational DBs. Still, this feature should be supported by NoSQL backends. Django needs to provide an easier format for NoSQL backends and the result value should also be simplified, as described above in "Representing result rows". 
     37 
     38Django-nonrel merely provides a `connection.feature.supports_select_related` flag which tells `QuerySet` that the backend won't return additional data for the related data in the result rows (otherwise `select_related()` causes bad results full of `None` values). 
    3539 
    3640= AutoField =