Changes between Version 9 and Version 10 of NoSqlSupport


Ignore:
Timestamp:
Apr 27, 2011, 1:58:34 AM (14 years ago)
Author:
Waldemar Kornewald
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NoSqlSupport

    v9 v10  
    144144
    145145
    146 = delete() =
     146= Model.delete() =
    147147
    148148By default, on `Model.delete()` Django emulates `ON DELETE CASCADE`. On App Engine this is not possible because queries are disabled while running a transaction. Even without transactions this can be very inefficient on App Engine, SimpleDB, and other NoSQL DBs because Django has to run a lot of queries and retrieve a lot of model instance. Even worse, since this operation is so inefficient it can be absolutely impossible to retrieve all related entities if there are significantly more than 1000 entities (on GAE the 1000 results limit has been removed, but it's still not possible to retrieve e.g. 5000 results).
Back to Top