🎈 perf(数据库): 慢查询优化

This commit is contained in:
luying
2022-11-11 11:22:15 +08:00
parent 282dd73951
commit 60b04682de
4 changed files with 5 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ import { AUCTION_STAGE, BID_REC_COUNT, GUILD_LOTS_REC_COUNT, LOTS_KEEP_TO_WORLD_
@index({ sort: 1 })
@index({ seq: 1 })
@index({ code: 1 })
@index({ begin: -1 })
@index({ guildCode: 1, begin: -1 })
@index({ serverId: 1, begin: -1, watchingRoles: 1 })
export default class Lot extends BaseModel {