Mongoose Auto Delete после времени

// use this object to schema
{ createdAt: { type: Date, expires: 3600 }}
Emre Önal