Fix collerk/ormar#588 bug in querysetproxy count() method
This commit is contained in:
@ -26,7 +26,7 @@ class QuerySetProtocol(Protocol): # pragma: nocover
|
||||
async def exists(self) -> bool:
|
||||
...
|
||||
|
||||
async def count(self) -> int:
|
||||
async def count(self, distinct: bool = True) -> int:
|
||||
...
|
||||
|
||||
async def clear(self) -> int:
|
||||
|
||||
Reference in New Issue
Block a user