MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / delete_many

Method delete_many

src/core/db/repository.py:191–197  ·  view source on GitHub ↗
(self, filters: list[Filter])

Source from the content-addressed store, hash-verified

189 return True
190
191 async def delete_many(self, filters: list[Filter]) -> int:
192 query = delete(self._model)
193 query = self._apply_filters(query, filters)
194
195 async with self.get_session() as session:
196 result = await session.execute(query)
197 return result.rowcount or 0
198
199 async def find_all(
200 self,

Callers

nothing calls this directly

Calls 3

_apply_filtersMethod · 0.95
get_sessionMethod · 0.95
executeMethod · 0.45

Tested by

no test coverage detected