(self, filters: list[Filter], update_data: dict[str, Any])
| 171 | return entity |
| 172 | |
| 173 | async def update_many(self, filters: list[Filter], update_data: dict[str, Any]) -> int: |
| 174 | query = update(self._model) |
| 175 | query = self._apply_filters(query, filters) |
| 176 | query = query.values(**update_data) |
| 177 | |
| 178 | async with self.get_session() as session: |
| 179 | result = await session.execute(query) |
| 180 | return result.rowcount or 0 |
| 181 | |
| 182 | async def delete(self, uid: Any) -> bool: |
| 183 | db_obj = await self.find_by_id(uid) |
nothing calls this directly
no test coverage detected