Mongoose Auto Usuń po czasie
// use this object to schema
{ createdAt: { type: Date, expires: 3600 }}
Emre Önal
// use this object to schema
{ createdAt: { type: Date, expires: 3600 }}