MCPcopy Index your code
hub / github.com/tortoise/tortoise-orm / __await__

Method __await__

tortoise/queryset.py:1999–2002  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1997 return count
1998
1999 def __await__(self) -> Generator[Any, Any, int]:
2000 self._choose_db_if_not_chosen(True)
2001 queries = self._make_queries()
2002 return self._execute_many(queries).__await__()
2003
2004 def sql(self, params_inline=False) -> str:
2005 self._choose_db_if_not_chosen()

Callers

nothing calls this directly

Calls 4

_make_queriesMethod · 0.95
_execute_manyMethod · 0.95
__await__Method · 0.45

Tested by

no test coverage detected