Simon Charette
bc05547cd8
Fixed #28658 -- Added DISTINCT handling to the Aggregate class.
2019-01-09 17:52:36 -05:00
Simon Charette
9a7d336c38
Corrected Aggregate docs to reflect that it accepts multiple expressions.
2018-11-27 09:22:24 -05:00
Curtis Maloney
c49ea6f591
Refs #20910 -- Replaced snippet directive with code-block.
2018-09-10 13:00:34 -04:00
priyanshsaxena
83b04d4f88
Fixed #29048 -- Added **extra_context to database function as_vendor() methods.
2018-08-23 11:52:09 -04:00
Mads Jensen
ab251fdad2
Refs #26608 -- Removed incorrect sentence in Expression.contains_over_clause docs.
2018-07-05 11:12:08 -04:00
Tim Graham
7543ab1f8d
Removed versionadded/changed annotations for 2.0.
2018-05-17 11:00:10 -04:00
Mariusz Felisiak
35319bf12c
Alphabetized imports in various docs.
...
Follow-up of d97cce3409
and 7d3fe36c62
.
2018-05-12 19:37:42 +02:00
drd0013
5d923f2d8c
Fixed #29313 -- Doc'd how to use F() to sort null values.
2018-04-19 20:07:40 -04:00
Matthew Wilkes
2162f0983d
Fixed #24747 -- Allowed transforms in QuerySet.order_by() and distinct(*fields).
2018-02-10 19:08:55 -05:00
priyanshsaxena
617d5f410f
Fixed #29066 -- Allowed negating query expressions.
2018-01-31 10:54:19 -05:00
Igor Starikov
3cc08f4b2b
Fixed typo in docs/ref/models/expressions.txt.
2017-12-05 08:39:57 -05:00
Benjamin Bach
bf49d9eb0b
Fixed #28815 -- Fixed ExtractYear imports in docs/ref/models/expressions.txt.
2017-11-17 17:30:21 -05:00
Tim Graham
327f0f37ce
Fixed #28770 -- Warned that quoting a placeholder in a raw SQL string is unsafe.
...
Thanks Hynek Cernoch for the report and review.
2017-11-07 13:07:12 -05:00
Tim Graham
1e7dbbdec5
Fixed #28680 -- Doc'd Func.__init__()'s **extra and as_sql()'s **extra_context aren't escaped.
...
Thanks Hynek Cernoch for the report and review.
2017-11-01 11:34:06 -04:00
Tim Graham
5446b72003
Removed versionadded/changed annotations for 1.11.
2017-09-22 12:51:18 -04:00
Mads Jensen
d549b88050
Fixed #26608 -- Added support for window expressions (OVER clause).
...
Thanks Josh Smeaton, Mariusz Felisiak, Sergey Fedoseev, Simon Charettes,
Adam Chainz/Johnson and Tim Graham for comments and reviews and Jamie
Cockburn for initial patch.
2017-09-18 09:42:29 -04:00
Tom
b78d100fa6
Fixed #27849 -- Added filtering support to aggregates.
2017-08-12 17:58:28 -04:00
Tim Graham
487362fa8f
Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and Expression.convert_value().
...
Unused since a0d166306f
.
2017-07-20 16:30:08 -04:00
Tomer Chachamu
62917cee5a
Doc'd the need to remove default ordering on Subquery aggregates.
2017-07-18 08:48:25 -04:00
Alasdair Nicol
757aefc12b
Removed self from method signatures in docs.
2017-03-16 20:33:59 -04:00
lb1c
36f2262741
Fixed incorrect import in docs/ref/models/expressions.txt.
2017-03-15 08:09:48 -04:00
chillaranand
dc165ec8e5
Refs #23919 -- Replaced super(ClassName, self) with super() in docs.
2017-01-25 11:53:05 -05:00
Paolo Melchiorre
5890d6ab03
Fixed typo in docs/ref/models/expressions.txt.
2017-01-25 07:46:18 -05:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Matthew Schinckel
236ebe94bf
Fixed #27149 -- Added Subquery and Exists database expressions.
...
Thanks Josh Smeaton for Oracle fixes.
2017-01-14 09:12:24 -05:00
Yohann Gabory
47ef8f31f3
Fixed #13312 -- Allowed specifying the order of null fields in queries.
...
Thanks Mariusz Felisiak for finishing the patch.
2016-12-08 09:54:07 -05:00
Tim Graham
0d6c7cae7c
Inlined a note in docs/ref/models/expressions.txt.
2016-11-09 08:20:59 -05:00
Jop Reyntjes
f8fab6f902
Fixed #27414 -- Doc'd that F() expressions on relations return pk values.
2016-11-09 07:11:46 -05:00
Tim Graham
c60feb6999
Fixed #25475 -- Doc'd how to use a literal % in Func.template.
2016-10-07 10:24:45 -04:00
petedmarsh
7bf3ba0d0c
Fixed #26899 -- Documented why RawSQL params is a required parameter.
2016-07-21 10:28:31 -04:00
Tsering
fc4b4fd585
Refs #23386 -- Documented that F() expressions are applied on each model.save()
2016-06-28 16:24:56 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
Tim Graham
46a38307c2
Removed versionadded/changed annotations for 1.9.
2016-05-20 11:44:29 -04:00
Ville Skyttä
575a9a791e
Normalized "an SQL" spelling.
2016-05-03 19:30:48 -04:00
Tim Graham
a755e0657e
Removed unused BaseExpression.refs_aggregate().
...
Unused since afe0bb7b13
.
2016-04-22 13:04:13 -04:00
Kai Feldhoff
5336158990
Fixed #25759 -- Added keyword arguments to customize Expressions' as_sql().
2016-03-29 08:09:58 -04:00
Kai Feldhoff
5ca08f7cab
Refs #25759 -- Documented customizing expressions' SQL on other databases.
2016-03-21 20:20:29 -04:00
Tim Graham
de8a11ba18
Fixed #26321 -- Added missing "for_save" parameter in expressions example.
...
Thanks tomaszn for the patch.
2016-03-03 19:36:03 -05:00
Tim Graham
88034c9938
Fixed #25687 -- Documented how to add database function support to third-party backends.
...
Thanks Kristof Claes for the initial patch.
2016-02-17 13:36:12 -05:00
Sergey Fedoseev
0a26121797
Refs #25629 -- Added `arity` class attribute to `Func` expressions
2015-11-02 20:09:21 +01:00
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
Alex Hill
134ca4d438
Fixed #24509 -- Added Expression support to SQLInsertCompiler
2015-09-22 23:35:24 +10:00
Tim Graham
97fa7fe961
Fixed #25212 -- Documented the RawSQL expression.
2015-08-05 07:54:54 -04:00
Alasdair Nicol
b792c4804b
Removed unnecessary F() from Func expressions docs
2015-07-31 01:40:35 +01:00
Alasdair Nicol
1f5b067710
Fixed #24952 -- Fixed example SQL in Func() expressions docs
2015-06-08 15:14:15 +01:00
Ian Foote
756a727252
Fixed typo in docs/ref/models/expressions.txt
2015-05-07 20:15:24 -04:00
Nicolas Noé
37682368a6
Fixed #24656 -- Added missing imports to query expressions doc.
2015-04-24 10:54:19 -04:00
lampslave
800240cb1d
Fixed typo in docs/ref/models/expressions.txt
2015-04-07 13:58:39 -04:00
Josh Smeaton
02a2943e4c
Fixed #24485 -- Allowed combined expressions to set output_field
2015-03-22 17:36:55 +11:00
Josh Smeaton
88d798d71a
Refs #24485 -- Renamed some expression types
2015-03-17 08:40:18 -04:00