Srinivas Reddy Thatiparthy
|
6a793d1788
|
Removed unnecessary assignment in Oracle's FormatStylePlaceholderCursor._fix_for_params().
Obsolete since fae56427e1 .
|
2017-08-07 10:11:54 -04:00 |
Mariusz Felisiak
|
7724879b52
|
Removed unused _combine() node argument from various combinable classes.
Unused since f59fd15c49 (Combinable) and
since its introduction in 2d877da855
(SearchVectorCombinable/SearchQueryCombinable/SearchQuery).
|
2017-08-02 21:21:32 -04:00 |
Sergey Fedoseev
|
78f7f68021
|
Refs #28459 -- Improved performance of Model.from_db() when fields are deferred.
|
2017-08-02 09:16:36 -04:00 |
Sergey Fedoseev
|
7bd9639406
|
Simplified check that pk is fetched in RawQuerySet.__iter__().
|
2017-08-02 08:56:16 -04:00 |
Mariusz Felisiak
|
5d9034bc92
|
Removed unused DatabaseOperations.last_insert_id() on PostgreSQL.
Unused since 9eb2afddfa .
|
2017-08-01 16:53:17 -04:00 |
Sergey Fedoseev
|
2d136ede8a
|
Fixed #28459 -- Improved performance of ValuesListIterable.
|
2017-08-01 14:44:02 -04:00 |
Matthew Wilkes
|
32d1bf2bdb
|
Fixed #28454 -- Simplifed use of Query.setup_joins() by returning a named tuple.
|
2017-08-01 14:25:54 -04:00 |
Sergey Fedoseev
|
62dee1483d
|
Refs #28370 -- Moved db converters deprecation warning to improve performance.
|
2017-08-01 08:05:32 -04:00 |
Sergey Fedoseev
|
58da81a5a3
|
Fixed #27985 -- Fixed query for __exact=value when get_prep_value() converts value to None.
Also fixed crash of .filter(field__transform=None).
|
2017-07-31 15:34:07 -04:00 |
Anssi Kääriäinen
|
6155bc4a51
|
Refs #20880 -- Removed non-cloning logic from Query.clone().
|
2017-07-31 15:31:29 -04:00 |
Anssi Kääriäinen
|
66933a6619
|
Refs #20880 -- Removed non-cloning logic from QuerySet._clone().
|
2017-07-31 13:57:45 -04:00 |
Sergey Fedoseev
|
0baea920c8
|
Fixed #28453 -- Made __exact=None lookup use transforms.
|
2017-07-31 13:31:04 -04:00 |
Sergey Fedoseev
|
aadd3aeb2b
|
Avoided creating temporary lists for obtaining the first item.
|
2017-07-31 11:02:23 -04:00 |
Sergey Fedoseev
|
0f905e4b44
|
Removed unneeded TruncBase.arity.
Uneeded since its introduction in 2a4af0ea43 .
|
2017-07-31 13:42:12 +05:00 |
Sergey Fedoseev
|
38988f289f
|
Avoided creation of temporary sets.
|
2017-07-29 10:16:43 -04:00 |
Sergey Fedoseev
|
99e7bba443
|
Prevented query_utils.refs_expression() from looking for empty string in annotations map.
|
2017-07-28 08:42:52 -04:00 |
Mariusz Felisiak
|
b61d5b1991
|
Fixed #28371 -- Fixed Cast() with CharField if the max_length argument isn't provided.
Thanks Tim Graham for the review.
|
2017-07-27 19:36:47 +02:00 |
Mariusz Felisiak
|
8e41373c81
|
Allowed database backends to specify data types for Cast().
A small refactor ahead of refs #28371.
|
2017-07-26 20:26:58 -04:00 |
Sergey Fedoseev
|
d17eaa868c
|
Removed obsolete references to add_to_query().
Support for it was removed in d3f00bd570 .
|
2017-07-25 07:52:05 -04:00 |
Mariusz Felisiak
|
28a02259cb
|
Fixed DatabaseFeatures.has_case_insensitive_like on MySQL and Oracle.
Incorrect since its introduction in 20bab2cf9d .
|
2017-07-24 21:51:29 +02:00 |
Mariusz Felisiak
|
fe9f383357
|
Refs #24996 -- Removed unused BaseDatabaseFeatures.supports_select_related.
Unused since 0c7633178f .
|
2017-07-24 13:46:02 -04:00 |
Tom Carrick
|
3159ad4df6
|
Fixed #27970 -- Allowed QuerySet.in_bulk() to fetch on fields besides primary key.
|
2017-07-21 08:34:35 -04:00 |
Simon Charette
|
76236f0db2
|
Stopped setting BaseExpression.copied on copy().
Unused since its introduction in f59fd15c49 .
|
2017-07-21 00:23:21 -04:00 |
orf
|
7dfe03f86d
|
Sorted display of options in Func.__repr__().
|
2017-07-20 20:51:07 -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 |
Sergey Fedoseev
|
37fbeb99f9
|
Removed unused models.DecimalField._format().
Unused since b3b71a0922 .
|
2017-07-20 09:00:18 -04:00 |
Mariusz Felisiak
|
e06cab2600
|
Fixed #28411 -- Used cx_Oracle.Cursor.outputtypehandler instead of _rowfactory() on Oracle.
Thanks Tim Graham for the review.
|
2017-07-19 08:42:52 +02:00 |
Sergey Fedoseev
|
33d453b2a7
|
Removed unneeded hasattr(self.rhs, 'get_compiler') checks in db/models/lookups.py.
Unneeded since 9ae4362bec .
|
2017-07-18 08:24:01 -04:00 |
Mariusz Felisiak
|
776cee9749
|
Fixed #28391 -- Fixed Cast() with CharField and max_length on MySQL.
Thanks Tim Graham for the review.
|
2017-07-17 21:12:27 +02:00 |
Tim Graham
|
feeafdad02
|
Removed unused enter/exit methods of MySQL's CursorWrapper.
Unused since their introduction in e1d839237f .
|
2017-07-17 13:16:29 -04:00 |
Mariusz Felisiak
|
e5835a7cb8
|
Allowed Func subclasses to add kwargs to __repr__().
Thanks Tim Graham for the review.
|
2017-07-17 10:07:19 -04:00 |
Florian Apolloner
|
adab280cef
|
Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and intersection() queries.
|
2017-07-15 08:20:12 -04:00 |
Sergey Fedoseev
|
504ce3914f
|
Fixed #28394 -- Allowed setting BaseExpression.output_field (renamed from _output_field).
|
2017-07-14 21:56:01 -04:00 |
Sergey Fedoseev
|
fc2dee6908
|
Removed unused branch in __getattr__() of Oracle and MySQL cursor wrappers.
|
2017-07-14 09:14:21 -04:00 |
Sergey Fedoseev
|
18db55bb31
|
Replaced Oracle CursorIterator with generator expression.
|
2017-07-14 14:15:00 +05:00 |
Claude Paroz
|
169c3b3e07
|
Fixed #14204 -- Enforced SQLite foreign key constraints.
Thanks Tim Graham for contributing to the patch and
Simon Charette for advice and review.
|
2017-07-11 09:07:31 -04:00 |
Sergey Fedoseev
|
29769a9942
|
Fixed #28382 -- Prevented BaseExpression._output_field from being set if _resolve_output_field() fails.
|
2017-07-11 08:29:08 -04:00 |
Mariusz Felisiak
|
ca74e56350
|
Fixed #28378 -- Fixed union() and difference() when combining with a queryset raising EmptyResultSet.
Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette
for the reviews.
|
2017-07-10 20:40:08 +02:00 |
Tim Graham
|
31a2af1c01
|
Removed useless hasattr in UpdateQuery._setup_query().
The if statement always evaluates to True.
|
2017-07-08 08:12:46 -04:00 |
Tim Graham
|
23c529a774
|
Removed unused Query.clone() memo kwarg.
Unused since 23ca3a0194 .
|
2017-07-07 09:29:58 -04:00 |
Tim Graham
|
686772c177
|
Removed unused OrderWrt.deconstruct().
|
2017-07-06 18:45:53 -04:00 |
Mariusz Felisiak
|
cf57ecb221
|
Fixed #28364 -- Removed redundant table joins in Oracle's DatabaseIntrospection.get_relations().
|
2017-07-06 07:39:01 -04:00 |
Mariusz Felisiak
|
df1106a40f
|
Fixed #28365 -- Unified DatabaseOperations.date_interval_sql() return value with similar methods.
|
2017-07-06 07:37:47 -04:00 |
Mariusz Felisiak
|
7d8fc65f36
|
Removed obsolete comment about IntegerField introspection on Oracle.
Obsolete since e9d12bae1e .
|
2017-07-04 14:46:40 +02:00 |
Simon Charette
|
5cbcb36839
|
Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent field.
Thanks Tim for the review.
|
2017-06-30 12:50:37 -04:00 |
Ran Benita
|
b9f7dce84b
|
Fixed #28010 -- Added FOR UPDATE OF support to QuerySet.select_for_update().
|
2017-06-29 16:00:15 -04:00 |
Mariusz Felisiak
|
6e228d0b65
|
Fixed #28277 -- Added validation of QuerySet.annotate() and aggregate() args.
Thanks Tim Graham and Nick Pope for reviews.
|
2017-06-29 18:25:36 +02:00 |
Anssi Kääriäinen
|
f7f5edd50d
|
Removed obsolete Query.tables attribute.
Obsolete since Query.alias_map became an OrderedDict (refs #26522).
|
2017-06-29 11:09:11 -04:00 |
Mads Jensen
|
550cb3a365
|
Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().
|
2017-06-28 14:07:55 -04:00 |
Daniel Hahler
|
43a4835edf
|
Fixed #27473 -- Added DurationField support to Extract.
|
2017-06-28 10:10:09 -04:00 |