Sarah Boyce 
							
						 
					 
					
						
						
							
						
						6b271ef21d 
					 
					
						
						
							
							Refs  #34547  -- Removed DatabaseOperations.field_cast_sql() per deprecation timeline.  
						
						
						
						
					 
					
						2025-01-15 22:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						94436dee57 
					 
					
						
						
							
							Refs  #29850  -- Removed obsolete test_window_frame_raise_not_supported_error.  
						
						... 
						
						
						
						This NotSupportedError was removed in 6375cee490 
						
						
					 
					
						2024-12-16 13:42:21 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						a69f895d7d 
					 
					
						
						
							
							Refs  #34547  -- Adjusted deprecation warning stacklevel in DatabaseOperations.field_cast_sql().  
						
						
						
						
					 
					
						2024-08-28 11:44:05 -03:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						0fcee1676c 
					 
					
						
						
							
							Fixed   #35111  -- Fixed compilation of DateField __in/__range rhs on SQLite and MySQL.  
						
						... 
						
						
						
						Also removed tests that ensured that adapt_(date)timefield backend
operations where able to deal with expressions when it's not the case
for any other adapt methods. 
						
						
					 
					
						2024-01-16 08:34:14 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						27b399d235 
					 
					
						
						
							
							Fixed   #34547  -- Deprecated DatabaseOperations.field_cast_sql().  
						
						
						
						
					 
					
						2023-08-31 06:18:07 +02:00 
						 
				 
			
				
					
						
							
							
								David Wobrock 
							
						 
					 
					
						
						
							
						
						9bbf97bcdb 
					 
					
						
						
							
							Fixed   #16055  -- Fixed crash when filtering against char/text GenericRelation relation on PostgreSQL.  
						
						
						
						
					 
					
						2023-04-18 12:41:14 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						877c800f25 
					 
					
						
						
							
							Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters.  
						
						... 
						
						
						
						Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2022-07-06 07:40:07 +02:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								SwastikTripathi 
							
						 
					 
					
						
						
							
						
						a7e7043c87 
					 
					
						
						
							
							Fixed   #33229  -- Fixed BaseDatabaseOperations.adapt_datetimefield_value()/adapt_timefield_value() crash with expressions.  
						
						
						
						
					 
					
						2021-11-19 09:47:57 +01:00 
						 
				 
			
				
					
						
							
							
								Manaia Junior 
							
						 
					 
					
						
						
							
						
						551c997fea 
					 
					
						
						
							
							Fixed   #33214  -- Added BaseDatabaseOperations.format_for_duration_arithmetic() stub method.  
						
						
						
						
					 
					
						2021-10-22 08:19:02 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						0be51d2226 
					 
					
						
						
							
							Fixed   #31956  -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.  
						
						... 
						
						
						
						Thanks Marc Debureaux for the report.
Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. 
						
						
					 
					
						2020-08-28 19:09:46 +02:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						dd5aa8cb5f 
					 
					
						
						
							
							Fixed   #28925  -- Fixed durations-only expressions crash on SQLite and MySQL.  
						
						... 
						
						
						
						This removes also unused DatabaseOperations.date_interval_sql(). 
						
						
					 
					
						2020-06-30 07:04:55 +02:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						6789ded0a6 
					 
					
						
						
							
							Fixed   #12990 , Refs  #27694  -- Added JSONField model field.  
						
						... 
						
						
						
						Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael
Michel for mentoring this Google Summer of Code 2019 project and
everyone else who helped with the patch.
Special thanks to Mads Jensen, Nick Pope, and Simon Charette for
extensive reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2020-05-08 07:23:31 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						1c2c6f1b51 
					 
					
						
						
							
							Fixed a/an typos in "SQL" usage.  
						
						
						
						
					 
					
						2020-05-06 06:35:26 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						5673d4b102 
					 
					
						
						
							
							Fixed   #31477  -- Removed "using" argument from DatabaseOperations.execute_sql_flush().  
						
						
						
						
					 
					
						2020-04-20 07:49:35 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						75410228df 
					 
					
						
						
							
							Fixed   #31473  -- Made sql_flush() use RESTART IDENTITY to reset sequences on PostgreSQL.  
						
						... 
						
						
						
						The sql_flush() positional argument sequences is replaced by the boolean
keyword-only argument reset_sequences. This ensures that the old
function signature can't be used by mistake when upgrading Django. When
the new argument is True, the sequences of the truncated tables will
reset. Using a single boolean value, rather than a list, allows making a
binary yes/no choice as to whether to reset all sequences rather than a
working on a completely different set. 
						
						
					 
					
						2020-04-17 11:57:24 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						8bcca47e83 
					 
					
						
						
							
							Added test coverage for DatabaseOperations.sql_flush().  
						
						
						
						
					 
					
						2020-04-17 09:52:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						537b0c5edf 
					 
					
						
						
							
							Fixed typo in tests/backends/base/test_operations.py.  
						
						
						
						
					 
					
						2020-04-08 20:06:31 +02:00 
						 
				 
			
				
					
						
							
							
								Ville Skyttä 
							
						 
					 
					
						
						
							
						
						03db5fddfd 
					 
					
						
						
							
							Fixed typos in docs, comments, and exception messages.  
						
						
						
						
					 
					
						2019-04-18 09:33:53 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						b181aba7dd 
					 
					
						
						
							
							Refs  #28478  -- Prevented database feature based skipping on tests disallowing queries.  
						
						... 
						
						
						
						Database features may require a connection to be established to determine
whether or not they are enabled. 
						
						
					 
					
						2019-01-14 16:16:30 -05:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						7598cd4748 
					 
					
						
						
							
							Fixed   #29813  -- Fixed DatabaseOperation test when run in isolation on MySQL.  
						
						
						
						
					 
					
						2018-10-02 08:22:38 -04:00 
						 
				 
			
				
					
						
							
							
								Matthew Wilkes 
							
						 
					 
					
						
						
							
						
						2162f0983d 
					 
					
						
						
							
							Fixed   #24747  -- Allowed transforms in QuerySet.order_by() and distinct(*fields).  
						
						
						
						
					 
					
						2018-02-10 19:08:55 -05:00 
						 
				 
			
				
					
						
							
							
								Mads Jensen 
							
						 
					 
					
						
						
							
						
						41406bf98e 
					 
					
						
						
							
							Increased test coverage for db/backends/base/operations.py.  
						
						
						
						
					 
					
						2017-09-30 19:48:55 -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