index = self.xiaoMiQuanCollection.createIndex({"unique_charcter": 1, "name": 'hashed'}, {"unique": True})res = self.xiaoMiQuanCollection.find(index)TypeError: 'Collection' object is not callable. If you meant to call the 'createIndex' method on a 'Collection' object it is failing because no such method exists.我写ensureIndex 也不对,求指教### 题目描述
添加回答
举报
0/150
提交
取消