diff --git a/db/eloquent.pyi b/db/eloquent.pyi index 0ab7167..206b7cb 100644 --- a/db/eloquent.pyi +++ b/db/eloquent.pyi @@ -115,6 +115,9 @@ class Model: @classmethod def where_not_null (cls, field: str) -> QueryBuilder[Self]: ... + @classmethod + def max (cls, column: str) -> Any: ... + @classmethod def set_connection_resolver (cls, resolver: DatabaseManager) -> None: ... @@ -137,4 +140,6 @@ class QueryBuilder (Generic[_ModelT]): def where_null (self, field: str) -> QueryBuilder[_ModelT]: ... + def max (self, column: str) -> Any: ... + def _load_relation (self, relation_name: str) -> QueryBuilder[_ModelT]: ...