def drop_indexes(self) -> None:
"""Drops all indexes on this collection.
Can be used on non-existant collections or collections with no indexes.
Raises OperationFailure on an error.
"""
await self.drop_index('*')
评论列表
文章目录