且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用猫鼬删除索引

更新时间:2023-02-17 12:25:10

您需要使用原始的

You need to use the raw collection property of your model to access the underlying MongoDB API:

Imagdata.collection.dropIndex(...);