Mongoose Auto Delete setelah waktu
// use this object to schema
{ createdAt: { type: Date, expires: 3600 }}
Emre Önal
// use this object to schema
{ createdAt: { type: Date, expires: 3600 }}