summaryrefslogtreecommitdiff
path: root/django/db/models/sql/query.py
AgeCommit message (Expand)Author
2009-01-15Fixed #3566 -- Added support for aggregation to the ORM. See the documentatio...Russell Keith-Magee
2009-01-08Fixed #9985 -- qs.values_list(...).values(...) was constructing incorrect SQL.Malcolm Tredinnick
2009-01-08Remove any ordering from a nested select query (in the where-clause).Malcolm Tredinnick
2009-01-05Nested query support.Malcolm Tredinnick
2009-01-05Reconciling where- and having-clause behaviour.Malcolm Tredinnick
2008-12-10If an SQL query doesn't specify any ordering, avoid the implicit sortMalcolm Tredinnick
2008-12-09Fixed #9778 -- Added some special casing of the "Join on field 'abc'" errorMalcolm Tredinnick
2008-12-08This fixes a group of problems in the SQL created by QuerySet.exclude() whenMalcolm Tredinnick
2008-12-07Fixed #9188 -- Fixed a case where we were generating syntactically invalid SQ...Malcolm Tredinnick
2008-10-24Fixed #9307 -- Added the ability to pickle the Query class used by the OracleMalcolm Tredinnick
2008-10-24Fixed #9406 -- Ensure that each database column is only represented once in theMalcolm Tredinnick
2008-10-08A queryset that has had ordering removed (order_by()) can have ordering addedMalcolm Tredinnick
2008-10-08Applying a limit to a queryset that already had an upper limit of 0 wasn'tMalcolm Tredinnick
2008-09-22Fixed a missing variable initialisation deep in the Query bowels.Malcolm Tredinnick
2008-09-11A bug from queryset-refactor days: although the Query class has "group_by" andMalcolm Tredinnick
2008-09-03Fixed #8819 -- Don't include two copies of extra-select columns in the query.Malcolm Tredinnick
2008-09-02Fixed #8790 -- Multi-branch join trees that shared tables of the same name wereMalcolm Tredinnick
2008-09-02Fixed #8439 -- Complex combinations of Q-objects (using both conjunctions andMalcolm Tredinnick
2008-09-02A typo fix that fortunately wasn't creating invalid SQL, just slightly lessMalcolm Tredinnick
2008-09-02Get the join promotion code (a bit more) correct when constructing joins for ...Malcolm Tredinnick
2008-09-01Replaced exact lookups of the empty string with isnull lookups in Oracle. Fi...Ian Kelly
2008-09-01Fixed #7302: Corrected quoting of columns in extra_group_by. Thanks to Ivan S...Russell Keith-Magee
2008-09-01Fixed #7512 -- Fixed an oversight when I first fixed ordering on nullableMalcolm Tredinnick
2008-08-28Improvements to [8608] to fix an infinite loop (for exclude(generic_relation)).Malcolm Tredinnick
2008-08-27Fixed #5937 -- When filtering on generic relations, restrict the target objec...Malcolm Tredinnick
2008-08-25Fixed #8106 -- Untangled some problems with complex select_related() queriesMalcolm Tredinnick
2008-08-22Fixed #8046 -- The first filter() call on a related manager for many-to-manyMalcolm Tredinnick
2008-08-17Fixed #8039 -- Make sure that extra(tables=...) tables are always included inMalcolm Tredinnick
2008-08-17Changed the (internal) way extra(select=.., select_params=...) handling is doneMalcolm Tredinnick
2008-08-06Major refactoring of django.dispatch with an eye towards speed. The net resul...Jacob Kaplan-Moss
2008-07-27Fixed #7886 -- Reordered some code in Query.results_iter() to ensure that allMalcolm Tredinnick
2008-07-27Fixed #7872 -- Fixed a missed case of promoting table joins when usingMalcolm Tredinnick
2008-07-22Fixed #7813 -- Allow pickling of Query classes that use select_related().Malcolm Tredinnick
2008-07-22Fixed #7791 -- Fixed a really silly error I introduced in [7926]. :-(Malcolm Tredinnick
2008-07-22Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. T...Adrian Holovaty
2008-07-22Fixed #7847 -- Removed a whole bunch of unused imports from throughout the co...Adrian Holovaty
2008-07-15Fixed #7411 -- worked around some possible transaction conflicts in SQLite.Malcolm Tredinnick
2008-07-12Fixed a bozo bug from [7885]. Fixed #7698.Malcolm Tredinnick
2008-07-11Removed a FIXME that isn't really a problem any longer.Malcolm Tredinnick
2008-07-11Fixed #7698 -- Handle '0' correctly when used as the upper bound of a slice.Malcolm Tredinnick
2008-07-04Redo the changes in [7773] in a better way.Malcolm Tredinnick
2008-07-01Modified [7760] to not include a "col is not NULL" fragment for non-nullable ...Malcolm Tredinnick
2008-06-30Fixed #7314 -- Changed the way extra() bits are handled when QuerySets are me...Malcolm Tredinnick
2008-06-29A way better fix for the count() issue in [7787].Malcolm Tredinnick
2008-06-29Fixed #7323 -- Fixed a count() edge-case.Malcolm Tredinnick
2008-06-29Fixed #7371 -- Fixed an edge case when ordering on related models.Malcolm Tredinnick
2008-06-29Factored out a semi-complex if-test that was used in two places.Malcolm Tredinnick
2008-06-29Fixed #7246 -- Pull in the all the necessary data when using select_related()...Malcolm Tredinnick
2008-06-29Fixed handling of multiple fields in a model pointing to the same related model.Malcolm Tredinnick
2008-06-27Reorganised the internals of the Where node a bit to fix some copying problems.Malcolm Tredinnick