mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 14:31:56 +08:00
Add django.db.models.functions.Collate (#1143)
This commit is contained in:
committed by
GitHub
parent
c0414c7b02
commit
678a5a0302
@@ -1,5 +1,6 @@
|
||||
from .comparison import Cast as Cast
|
||||
from .comparison import Coalesce as Coalesce
|
||||
from .comparison import Collate as Collate
|
||||
from .comparison import Greatest as Greatest
|
||||
from .comparison import Least as Least
|
||||
from .comparison import NullIf as NullIf
|
||||
|
||||
@@ -8,6 +8,10 @@ class Cast(Func):
|
||||
def __init__(self, expression: Any, output_field: Union[str, Field]) -> None: ...
|
||||
|
||||
class Coalesce(Func): ...
|
||||
|
||||
class Collate(Func):
|
||||
def __init__(self, expression: Any, collation: str) -> None: ...
|
||||
|
||||
class Greatest(Func): ...
|
||||
|
||||
class JSONObject(Func):
|
||||
|
||||
Reference in New Issue
Block a user