diff --git a/django-stubs/db/models/functions/__init__.pyi b/django-stubs/db/models/functions/__init__.pyi index 186fb979c..8dd3e0407 100644 --- a/django-stubs/db/models/functions/__init__.pyi +++ b/django-stubs/db/models/functions/__init__.pyi @@ -1,6 +1,8 @@ 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 JSONObject as JSONObject from .comparison import Least as Least from .comparison import NullIf as NullIf from .datetime import Extract as Extract diff --git a/django-stubs/db/models/functions/comparison.pyi b/django-stubs/db/models/functions/comparison.pyi index 1e8dacf34..58247e38f 100644 --- a/django-stubs/db/models/functions/comparison.pyi +++ b/django-stubs/db/models/functions/comparison.pyi @@ -9,6 +9,12 @@ class Cast(Func): ) -> None: ... class Coalesce(Func): ... +class Collate(Func): + def __init__(self, expression: Any, collation: str) -> None: ... + class Greatest(Func): ... +class JSONObject(Func): + def __init__(self, **fields: Any) -> None: ... + class Least(Func): ... class NullIf(Func): ...