mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	Changed default value of DatabaseFeatures.has_bulk_insert to True.
This commit is contained in:
		
							parent
							
								
									256182c43d
								
							
						
					
					
						commit
						3939e2b4dc
					
				
					 5 changed files with 1 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -25,7 +25,7 @@ class BaseDatabaseFeatures:
 | 
			
		|||
    can_use_chunked_reads = True
 | 
			
		||||
    can_return_id_from_insert = False
 | 
			
		||||
    can_return_ids_from_bulk_insert = False
 | 
			
		||||
    has_bulk_insert = False
 | 
			
		||||
    has_bulk_insert = True
 | 
			
		||||
    uses_savepoints = False
 | 
			
		||||
    can_release_savepoints = False
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
 | 
			
		|||
    allows_group_by_pk = True
 | 
			
		||||
    related_fields_match_type = True
 | 
			
		||||
    allow_sliced_subqueries = False
 | 
			
		||||
    has_bulk_insert = True
 | 
			
		||||
    has_select_for_update = True
 | 
			
		||||
    has_select_for_update_nowait = False
 | 
			
		||||
    supports_forward_references = False
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
 | 
			
		|||
    can_defer_constraint_checks = True
 | 
			
		||||
    supports_partially_nullable_unique_constraints = False
 | 
			
		||||
    truncates_names = True
 | 
			
		||||
    has_bulk_insert = True
 | 
			
		||||
    supports_tablespaces = True
 | 
			
		||||
    supports_sequence_reset = False
 | 
			
		||||
    can_introspect_time_field = False
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,7 +14,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
 | 
			
		|||
    has_select_for_update = True
 | 
			
		||||
    has_select_for_update_nowait = True
 | 
			
		||||
    has_select_for_update_of = True
 | 
			
		||||
    has_bulk_insert = True
 | 
			
		||||
    uses_savepoints = True
 | 
			
		||||
    can_release_savepoints = True
 | 
			
		||||
    supports_tablespaces = True
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,7 +16,6 @@ class DatabaseFeatures(BaseDatabaseFeatures):
 | 
			
		|||
    supports_timezones = False
 | 
			
		||||
    max_query_params = 999
 | 
			
		||||
    supports_mixed_date_datetime_comparisons = False
 | 
			
		||||
    has_bulk_insert = True
 | 
			
		||||
    supports_column_check_constraints = False
 | 
			
		||||
    autocommits_when_autocommit_is_off = True
 | 
			
		||||
    can_introspect_decimal_field = False
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue