Mongoose not creating indexes - auto expire document

后端 未结 0 653
北恋
北恋 2021-01-05 10:04

I\'m trying to auto expire a document using this methods :

const schema = new mongoose.Schema(
    {
        field: { type: String },
        expireAt: {
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题