mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-19 02:15:59 +08:00
Add BaseDatabaseWrapper.operations (#1119)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
from datetime import tzinfo
|
from datetime import tzinfo
|
||||||
from typing import Any, Callable, Dict, Generator, Iterator, List, Optional, Set, Tuple, Type, TypeVar
|
from typing import Any, Callable, Dict, Generator, Iterator, List, MutableMapping, Optional, Set, Tuple, Type, TypeVar
|
||||||
|
|
||||||
from django.db.backends.base.client import BaseDatabaseClient
|
from django.db.backends.base.client import BaseDatabaseClient
|
||||||
from django.db.backends.base.creation import BaseDatabaseCreation
|
from django.db.backends.base.creation import BaseDatabaseCreation
|
||||||
@@ -53,6 +53,7 @@ class BaseDatabaseWrapper:
|
|||||||
introspection: BaseDatabaseIntrospection = ...
|
introspection: BaseDatabaseIntrospection = ...
|
||||||
ops: BaseDatabaseOperations = ...
|
ops: BaseDatabaseOperations = ...
|
||||||
validation: BaseDatabaseValidation = ...
|
validation: BaseDatabaseValidation = ...
|
||||||
|
operators: MutableMapping[str, str] = ...
|
||||||
def __init__(self, settings_dict: Dict[str, Any], alias: str = ...) -> None: ...
|
def __init__(self, settings_dict: Dict[str, Any], alias: str = ...) -> None: ...
|
||||||
def ensure_timezone(self) -> bool: ...
|
def ensure_timezone(self) -> bool: ...
|
||||||
@property
|
@property
|
||||||
|
|||||||
Reference in New Issue
Block a user