Back

delete docs after a certain period

  • 0
  • Flutter
  • Tools
  • Databases
  • Cloud
  • Self Hosted
Nuaiman
15 Jul, 2023, 09:47

Hi, I want to know, how can I set auto delete for my documents inside a collection after a certain time.

Thankyou

TL;DR
The user wants to know how to set up automatic deletion of documents after a certain period of time. They are seeking insight and information on how to accomplish this task. One suggestion is to use a cron job cloud function to schedule the deletion.
kamal.panara
15 Jul, 2023, 10:34

you can schedule cron job cloud function to delete documents after certain period.

Nuaiman
15 Jul, 2023, 12:24

Could you please tell me how does that work?

Nuaiman
15 Jul, 2023, 16:12

@Steven appologies for tagging, I really need an insight about it. Or else my database will keep growing forever

Drake
15 Jul, 2023, 17:32

I agree with the answer above. Read more about functions here: https://appwrite.io/docs/functions

Drake
15 Jul, 2023, 17:33

Please also make sure to search the discord server: https://discord.com/channels/564160730845151244/1128743411533496380

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more