@@ -47,11 +47,13 @@ class BaseDatabaseOperations:
4747 def fetch_returned_insert_columns (self , cursor : Any , returning_params : Any ) -> Any : ...
4848 @deprecated ("field_cast_sql() is deprecated and will be removed in Django 6.0. Use lookup_cast() instead." )
4949 def field_cast_sql (self , db_type : str | None , internal_type : str ) -> str : ...
50+ def force_group_by (self ) -> list [str ]: ...
5051 def force_no_ordering (self ) -> list [Any ]: ...
5152 def for_update_sql (
5253 self , nowait : bool = False , skip_locked : bool = False , of : Any = (), no_key : bool = False
5354 ) -> str : ...
5455 def limit_offset_sql (self , low_mark : int , high_mark : int | None ) -> str : ...
56+ def bulk_insert_sql (self , fields : Iterable [Field ], placeholder_rows : Iterable [str ]) -> str : ...
5557 def last_executed_query (self , cursor : Any , sql : Any , params : Any ) -> str : ...
5658 def last_insert_id (self , cursor : CursorWrapper , table_name : str , pk_name : str ) -> int : ...
5759 def lookup_cast (self , lookup_type : str , internal_type : str | None = None ) -> str : ...
@@ -105,8 +107,7 @@ class BaseDatabaseOperations:
105107 def modify_insert_params (self , placeholder : str , params : Any ) -> Any : ...
106108 def integer_field_range (self , internal_type : Any ) -> tuple [int , int ]: ...
107109 def subtract_temporals (self , internal_type : Any , lhs : Any , rhs : Any ) -> tuple [str , tuple [Any , ...]]: ...
108- def window_frame_start (self , start : Any ) -> str : ...
109- def window_frame_end (self , end : Any ) -> str : ...
110+ def window_frame_value (self , value : int | None ) -> str : ...
110111 def window_frame_rows_start_end (self , start : int | None = None , end : int | None = None ) -> tuple [str , str ]: ...
111112 def window_frame_range_start_end (self , start : int | None = None , end : int | None = None ) -> tuple [str , str ]: ...
112113 def explain_query_prefix (self , format : str | None = None , ** options : Any ) -> str : ...
0 commit comments