增加索引,解决慢查询

This commit is contained in:
ciniao 2023-12-26 10:32:27 +08:00
parent bb7495379e
commit 7537f108ad

View File

@ -93,6 +93,9 @@ const indexs: Partial<{ [k in keyof MongodbCollections]: IndexDescription[] }> =
},
{
key: {uid: 1}
},
{
key: {type: 1}
}
],
pata: [