根据集合名获取集合对象 @param coll_name: 集合名 @return:
(self, coll_name, **kwargs)
| 89 | return self.client.get_database(database, **kwargs) |
| 90 | |
| 91 | def get_collection(self, coll_name, **kwargs) -> Collection: |
| 92 | """ |
| 93 | 根据集合名获取集合对象 |
| 94 | @param coll_name: 集合名 |
| 95 | @return: |
| 96 | """ |
| 97 | return self.db.get_collection(coll_name, **kwargs) |
| 98 | |
| 99 | def find( |
| 100 | self, coll_name: str, condition: Optional[Dict] = None, limit: int = 0, **kwargs |
no outgoing calls
no test coverage detected