(db: Database)
| 1295 | |
| 1296 | |
| 1297 | def drop_collections(db: Database): |
| 1298 | # Drop all non-system collections in this database. |
| 1299 | for coll in db.list_collection_names(filter={"name": {"$regex": r"^(?!system\.)"}}): |
| 1300 | db.drop_collection(coll) |
| 1301 | |
| 1302 | |
| 1303 | def remove_all_users(db: Database): |
nothing calls this directly
no test coverage detected