增加索引,解决慢查询
This commit is contained in:
parent
bb7495379e
commit
7537f108ad
@ -93,6 +93,9 @@ const indexs: Partial<{ [k in keyof MongodbCollections]: IndexDescription[] }> =
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: {uid: 1}
|
key: {uid: 1}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: {type: 1}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
pata: [
|
pata: [
|
||||||
|
Loading…
Reference in New Issue
Block a user