mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-08 13:04:47 +08:00
* adding missing db.backends typings and updated test * added missing stubs * reformatted files * removed contrib.postgres.forms * fixed test
18 lines
716 B
Python
18 lines
716 B
Python
from django.contrib.gis.db.backends.base.operations import BaseSpatialOperations as BaseSpatialOperations
|
|
from django.db.backends.mysql.operations import DatabaseOperations as DatabaseOperations
|
|
from typing import Any
|
|
|
|
class MySQLOperations(BaseSpatialOperations, DatabaseOperations):
|
|
mysql: bool = ...
|
|
name: str = ...
|
|
geom_func_prefix: str = ...
|
|
Adapter: Any = ...
|
|
def select(self): ...
|
|
def from_text(self): ...
|
|
def gis_operators(self): ...
|
|
disallowed_aggregates: Any = ...
|
|
def unsupported_functions(self): ...
|
|
def geo_db_type(self, f: Any): ...
|
|
def get_distance(self, f: Any, value: Any, lookup_type: Any): ...
|
|
def get_geometry_converter(self, expression: Any): ...
|