Changes between Version 13 and Version 14 of NonSqlBackends


Ignore:
Timestamp:
Aug 13, 2009, 1:31:40 AM (15 years ago)
Author:
twanschik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NonSqlBackends

    v13 v14  
    11Here we collect the high-level refactorings required for non-sql (or non-relational) backends. Also see the specific backend docs for details: AppEngine
     2
     3Database query operations (get, count, ... entities) are provided to Django models via managers. Managers basically wrap around QuerySet methods. Internally Django's QuerySet class uses sql.Query whose default is sql.BaseQuery. sql.Query can be overridden to use a custom Query class (the backend). So we end up writting a Query class in order to provide a specific backend. So anything done in Django's Model methods or QuerySet methods which cannot be done for a specific backend should be moved into the Query in order to allow backends to specify what to do in such cases.
    24
    35= sql.subqueries =
Back to Top